fish: Reference correct output of glibc

This commit is contained in:
Tuomas Tynkkynen 2016-04-16 21:21:27 +03:00
parent a3466e300d
commit cfdef68ad2

View File

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
--replace "| ul" "| ${utillinux}/bin/ul"
for cur in $out/share/fish/functions/*.fish; do
substituteInPlace "$cur" --replace "/usr/bin/getent" "${glibc}/bin/getent"
substituteInPlace "$cur" --replace "/usr/bin/getent" "${glibc.bin}/bin/getent"
done
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
sed -i "s|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish"