We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6993f2a commit ff4c7edCopy full SHA for ff4c7ed
appimagetool.nix
@@ -34,12 +34,12 @@ in stdenv.mkDerivation rec {
34
mkdir -p $out
35
cp -r usr/* $out
36
37
- patchelf --set-interpreter ${dynamicLinker} \
38
- --set-rpath ${stdenv.glibc.out}/lib:${fuse}/lib:${zlib}/lib:${glib}/lib \
39
- $out/bin/appimagetool
40
41
- --set-rpath ${zlib}/lib \
42
- $out/bin/mksquashfs
+ for x in $out/bin/*; do
+ patchelf \
+ --set-interpreter ${dynamicLinker} \
+ --set-rpath ${stdenv.lib.makeLibraryPath [ zlib stdenv.glibc.out fuse glib ]} \
+ $x
+ done
43
'';
44
45
dontStrip = true;
0 commit comments