about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorDaniel S. Lee <dan@danslee.com>2023-12-09 23:11:23 +0900
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-12-13 02:19:17 +0100
commit96104948188dc79a7d0c0870bb3802af96ab69c7 (patch)
tree85f573fe17b12f11615a0c6223f805c42e89a2c8 /pkgs/applications/editors
parent571066d3f7ec3bd98d8a892083fc33b312fe74a6 (diff)
jetbrains: add libraries needed for patchelf
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/jetbrains/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix
index fc73117ec82b1..d47c9019fbfe0 100644
--- a/pkgs/applications/editors/jetbrains/default.nix
+++ b/pkgs/applications/editors/jetbrains/default.nix
@@ -21,6 +21,8 @@
 , libgcc
 , lttng-ust_2_12
 , xz
+, xorg
+, libGL
 
 , vmopts ? null
 }:
@@ -149,7 +151,7 @@ rec {
       # fortify source breaks build since delve compiles with -O0
       ''--prefix CGO_CPPFLAGS " " "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"''
     ];
-    extraBuildInputs = [ libgcc ];
+    extraBuildInputs = [ libgcc stdenv.cc.cc ];
   }).overrideAttrs
     (attrs: {
       postFixup = (attrs.postFixup or "") + lib.optionalString stdenv.isLinux ''
@@ -215,6 +217,9 @@ rec {
       python3
       openssl
       libxcrypt-legacy
+      fontconfig
+      xorg.libX11
+      libGL
     ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
       expat
       libxml2