@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ncurses, python, which, groff, gettext, man_db, bc, libiconv }:
1+{ stdenv, fetchurl, ncurses, python, which, groff, gettext, man_db, bc, libiconv, coreutils }:
22
33stdenv.mkDerivation rec {
44 name = "fish-${version}";
@@ -15,10 +15,12 @@ stdenv.mkDerivation rec {
1515 # Python: Autocompletion generated from manpages and config editing
1616 propagatedBuildInputs = [ python which groff gettext ]
1717 ++ stdenv.lib.optional (!stdenv.isDarwin) man_db
18− ++ [ bc ];
18+ ++ [ bc coreutils ];
1919
2020 postInstall = ''
21− sed -i "s|bc|${bc}/bin/bc|" "$out/share/fish/functions/seq.fish"
21+ sed -e "s|bc|${bc}/bin/bc|" \
22+ -e "s|/usr/bin/seq|${coreutils}/bin/seq|" \
23+ -i "$out/share/fish/functions/seq.fish"
2224 sed -i "s|which |${which}/bin/which |" "$out/share/fish/functions/type.fish"
2325 sed -i "s|nroff |${groff}/bin/nroff |" "$out/share/fish/functions/__fish_print_help.fish"
2426 sed -e "s|gettext |${gettext}/bin/gettext |" \