fish: Reference correct output of glibc
This commit is contained in:
parent
a3466e300d
commit
cfdef68ad2
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "| ul" "| ${utillinux}/bin/ul"
|
--replace "| ul" "| ${utillinux}/bin/ul"
|
||||||
|
|
||||||
for cur in $out/share/fish/functions/*.fish; do
|
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
|
done
|
||||||
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||||
sed -i "s|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish"
|
sed -i "s|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish"
|
||||||
|
Loading…
Reference in New Issue
Block a user