git.iko.soy/typeable/nixpkgs
on master help sign in
fish: don't use manpath(1) from PATH in functions/man.fish

Close #12762.

commit1072e2bf4df3b34fc50d75c0a1d76bd1fecb180b authorNathan Zadoks <nathan@nathan7.eu> dateTue 2 Feb 2016, 02:47 (11 years ago) parent9468f2c
1 file changed+1
pkgs/shells/fish/default.nix+1
pkgs/shells/fish/default.nix+1
@@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
4646 '' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
4747 sed -i "s|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish"
4848 sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py"
49+ sed -i "s|command manpath|command ${man_db}/bin/manpath|" "$out/share/fish/functions/man.fish"
4950 '' + ''
5051 sed -i "s|/sbin /usr/sbin||" \
5152 "$out/share/fish/functions/__fish_complete_subcommand_root.fish"