diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-09-25 22:15:24 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-09-25 22:41:39 +0200 |
commit | 5cffa00443e222c6c56c346de96734b08f2fa060 (patch) | |
tree | 7eec385cb8b744c1fe1676b26301c5902be925c1 /pkgs | |
parent | 3382de06fd4b81806fe96b373b04d52de008b4a6 (diff) | |
download | nixlib-5cffa00443e222c6c56c346de96734b08f2fa060.tar nixlib-5cffa00443e222c6c56c346de96734b08f2fa060.tar.gz nixlib-5cffa00443e222c6c56c346de96734b08f2fa060.tar.bz2 nixlib-5cffa00443e222c6c56c346de96734b08f2fa060.tar.lz nixlib-5cffa00443e222c6c56c346de96734b08f2fa060.tar.xz nixlib-5cffa00443e222c6c56c346de96734b08f2fa060.tar.zst nixlib-5cffa00443e222c6c56c346de96734b08f2fa060.zip |
fish: add missing deps
Start fish and run "ls". It will complain about not being able to run which, nroff and gettext. This fixes it.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/shells/fish/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index f24d6ede3148..7beca2109ea6 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, autoconf, ncurses, which }: +{ stdenv, fetchurl, autoconf, ncurses, which, groff, gettext }: stdenv.mkDerivation rec { name = "fish-2.0.0"; @@ -16,6 +16,14 @@ stdenv.mkDerivation rec { autoconf ''; + postInstall = '' + sed -i "s|which |command -v |" "$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 |" \ + -e "s|which |command -v |" \ + -i "$out/share/fish/functions/_.fish" + ''; + meta = with stdenv.lib; { description = "Smart and user-friendly command line shell"; homepage = http://fishshell.com/; |