fix: substitute path to bc in math.fish

closes #10141
This commit is contained in:
Pascal Wittmann 2015-11-05 15:14:04 +01:00
parent 499be4736f
commit 0c5bdf68c2

View File

@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
postInstall = ''
sed -e "s|bc|${bc}/bin/bc|" \
-e "s|/usr/bin/seq|${coreutils}/bin/seq|" \
-i "$out/share/fish/functions/seq.fish"
-i "$out/share/fish/functions/seq.fish" \
"$out/share/fish/functions/math.fish"
sed -i "s|which |${which}/bin/which |" "$out/share/fish/functions/type.fish"
sed -i "s|nroff |${groff}/bin/nroff |" "$out/share/fish/functions/__fish_print_help.fish"
sed -e "s|gettext |${gettext}/bin/gettext |" \