fix "libc}/lib" and similar references
Done mostly without any verification. I didn't bother with libc}/include, as the path is still correct.
This commit is contained in:
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
cp -a usr/* "$out/"
|
||||
interpreter="$(echo ${stdenv.glibc}/lib/ld-linux*)"
|
||||
interpreter="$(echo ${stdenv.glibc.out}/lib/ld-linux*)"
|
||||
patchelf --set-interpreter "$interpreter" "$out/bin/xidel"
|
||||
patchelf --set-rpath "${stdenv.lib.makeLibraryPath [stdenv.glibc]}" "$out/bin/xidel"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user