From 3472b61f371da6b38928f72e8def2809b86aab91 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Tue, 24 May 2016 10:07:29 +0200 Subject: fish: use a different alias man_db -> man-db --- pkgs/shells/fish/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgs/shells/fish') diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index 8916cca0f04..6de8aa7f18b 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses, nettools, python, which, groff, gettext, man_db, +{ stdenv, fetchurl, ncurses, nettools, python, which, groff, gettext, man-db, bc, libiconv, coreutils, gnused, kbd, utillinux, glibc }: stdenv.mkDerivation rec { @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { # Required binaries during execution # Python: Autocompletion generated from manpages and config editing propagatedBuildInputs = [ python which groff gettext ] - ++ stdenv.lib.optional (!stdenv.isDarwin) man_db + ++ stdenv.lib.optional (!stdenv.isDarwin) man-db ++ [ bc coreutils ]; postInstall = '' @@ -55,8 +55,8 @@ stdenv.mkDerivation rec { done '' + stdenv.lib.optionalString (!stdenv.isDarwin) '' sed -i "s|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish" - sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py" - sed -i "s|command manpath|command ${man_db}/bin/manpath|" "$out/share/fish/functions/man.fish" + sed -i "s|Popen(\['manpath'|Popen(\['${man-db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py" + sed -i "s|command manpath|command ${man-db}/bin/manpath|" "$out/share/fish/functions/man.fish" '' + '' sed -i "s|/sbin /usr/sbin||" \ "$out/share/fish/functions/__fish_complete_subcommand_root.fish" -- cgit 1.4.1