about summary refs log tree commit diff
path: root/nixos/modules/programs/environment.nix
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@uclouvain.be>2017-06-27 10:57:44 +0200
committerGuillaume Maudoux <guillaume.maudoux@uclouvain.be>2017-06-30 11:17:11 +0200
commitbd562949cfa82b76ef5959bd53ee9596bc35e705 (patch)
treebcf106a87ca0c64f15fdaf8738707fbb869b7d96 /nixos/modules/programs/environment.nix
parentd61c22341b00171b53697164cb8241184979d14c (diff)
downloadnixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.gz
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.bz2
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.lz
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.xz
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.zst
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.zip
terminfo: symlink terminfo to /etc for ncurses
Diffstat (limited to 'nixos/modules/programs/environment.nix')
-rw-r--r--nixos/modules/programs/environment.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix
index ba356a8ad2dd..401d152941a0 100644
--- a/nixos/modules/programs/environment.nix
+++ b/nixos/modules/programs/environment.nix
@@ -34,7 +34,6 @@ in
       { PATH = [ "/bin" ];
         INFOPATH = [ "/info" "/share/info" ];
         PKG_CONFIG_PATH = [ "/lib/pkgconfig" ];
-        TERMINFO_DIRS = [ "/share/terminfo" ];
         PERL5LIB = [ "/lib/perl5/site_perl" ];
         KDEDIRS = [ "" ];
         STRIGI_PLUGIN_PATH = [ "/lib/strigi/" ];
@@ -50,9 +49,6 @@ in
 
     environment.extraInit =
       ''
-         # reset TERM with new TERMINFO available (if any)
-         export TERM=$TERM
-
          unset ASPELL_CONF
          for i in ${concatStringsSep " " (reverseList cfg.profiles)} ; do
            if [ -d "$i/lib/aspell" ]; then