diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-06-30 20:39:02 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-06-30 20:39:02 +0200 |
commit | 8727f1aeb1a98233351b8b5a16ec81f692653860 (patch) | |
tree | fd0449b50cf0d6a7e1996aad6095f37a54938aef /pkgs/shells | |
parent | 67d992c10076b88ff47e10ecf2ecad2e1a64cbe8 (diff) |
fish: fix 'fish_config' by providing python ncurses module
Gets rid of the "ImportError: No module named _curses" (and failure to display page) when clicking the "prompt" page in the 'fish_config' web UI.
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/fish/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index e69c033cf4045..adfe44b3bac1d 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses, python27, which, groff, gettext, man_db, bc }: +{ stdenv, fetchurl, ncurses, python, which, groff, gettext, man_db, bc }: stdenv.mkDerivation rec { name = "fish-${version}"; @@ -12,8 +12,8 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ]; # Required binaries during execution - # Python27: Autocompletion generated from manpages and config editing - propagatedBuildInputs = [ python27 which groff gettext man_db bc ]; + # Python: Autocompletion generated from manpages and config editing + propagatedBuildInputs = [ python which groff gettext man_db bc ]; postInstall = '' sed -i "s|bc|${bc}/bin/bc|" "$out/share/fish/functions/seq.fish" |