Merge staging into closure-size
The most complex problems were from dealing with switches reverted in the meantime (gcc5, gmp6, ncurses6). It's likely that darwin is (still) broken nontrivially.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ncurses, python, which, groff, gettext, man_db, bc, libiconv, coreutils }:
|
||||
{ stdenv, fetchurl, ncurses, nettools, python, which, groff, gettext, man_db, bc, libiconv, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fish-${version}";
|
||||
@@ -20,8 +20,10 @@ 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|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish"
|
||||
sed -i "s|nroff |${groff}/bin/nroff |" "$out/share/fish/functions/__fish_print_help.fish"
|
||||
sed -e "s|gettext |${gettext}/bin/gettext |" \
|
||||
-e "s|which |${which}/bin/which |" \
|
||||
|
||||
Reference in New Issue
Block a user