jetbrains: add libraries needed for patchelf

This commit is contained in:
Daniel S. Lee 2023-12-09 23:11:23 +09:00 committed by Weijia Wang
parent 571066d3f7
commit 9610494818

View File

@ -21,6 +21,8 @@
, libgcc , libgcc
, lttng-ust_2_12 , lttng-ust_2_12
, xz , xz
, xorg
, libGL
, vmopts ? null , vmopts ? null
}: }:
@ -149,7 +151,7 @@ rec {
# fortify source breaks build since delve compiles with -O0 # fortify source breaks build since delve compiles with -O0
''--prefix CGO_CPPFLAGS " " "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"'' ''--prefix CGO_CPPFLAGS " " "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"''
]; ];
extraBuildInputs = [ libgcc ]; extraBuildInputs = [ libgcc stdenv.cc.cc ];
}).overrideAttrs }).overrideAttrs
(attrs: { (attrs: {
postFixup = (attrs.postFixup or "") + lib.optionalString stdenv.isLinux '' postFixup = (attrs.postFixup or "") + lib.optionalString stdenv.isLinux ''
@ -215,6 +217,9 @@ rec {
python3 python3
openssl openssl
libxcrypt-legacy libxcrypt-legacy
fontconfig
xorg.libX11
libGL
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
expat expat
libxml2 libxml2