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.
This commit is contained in:
parent
67d992c100
commit
8727f1aeb1
@ -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"
|
||||
|
@ -2487,7 +2487,9 @@ let
|
||||
|
||||
dash = callPackage ../shells/dash { };
|
||||
|
||||
fish = callPackage ../shells/fish { };
|
||||
fish = callPackage ../shells/fish {
|
||||
python = python27Full;
|
||||
};
|
||||
|
||||
tcsh = callPackage ../shells/tcsh { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user