mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 20:44:12 +00:00
navit: fix plugins
This commit is contained in:
parent
b4a5b3efab
commit
30ab2300bc
@ -68,10 +68,10 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
# TODO: fix upstream?
|
||||
libPath = stdenv.lib.makeLibraryPath ([ stdenv.cc.libc ] ++ buildInputs );
|
||||
postFixup = ''
|
||||
for lib in $(find "$out/lib/navit/" -iname "*.so" ); do
|
||||
patchelf --set-rpath ${makeLibraryPath buildInputs} $lib
|
||||
done
|
||||
find "$out/lib" -type f -name "*.so" -exec patchelf --set-rpath $libPath {} \;
|
||||
|
||||
wrapProgram $out/bin/navit \
|
||||
--prefix PATH : ${makeBinPath (
|
||||
optional xkbdSupport xkbd
|
||||
|
Loading…
Reference in New Issue
Block a user