mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-07 14:00:59 +03:00
mumble_overlay: fixing the library path
This commit is contained in:
parent
c3e1e64e4c
commit
637e80506a
@ -12,10 +12,10 @@ in stdenv.mkDerivation {
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
ln -s ${mumble}/lib/libmumble.so.1.* $out/lib/libmumble.so.1
|
||||
ln -s ${mumble}/lib/libmumble.so.1.2.* $out/lib/libmumble.so.1
|
||||
${lib.optionalString (mumble_i686 != null) ''
|
||||
mkdir -p $out/lib32
|
||||
ln -s ${mumble_i686}/lib/libmumble.so.1.* $out/lib32/libmumble.so.1
|
||||
ln -s ${mumble_i686}/lib/libmumble.so.1.2.* $out/lib32/libmumble.so.1
|
||||
''}
|
||||
install -Dm755 scripts/mumble-overlay $out/bin/mumble-overlay
|
||||
sed -i "s,/usr/lib,$out/lib,g" $out/bin/mumble-overlay
|
||||
|
Loading…
Reference in New Issue
Block a user