From 98cedb3d22a580d8ee1804862d65a3198d9ee3ac Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Apr 2015 15:01:22 +0200 Subject: [PATCH] Remove obsolete .../sbin directories from $PATH --- nixos/modules/config/system-path.nix | 1 - nixos/modules/programs/environment.nix | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index f3e86bfd2019..ed7b949ecc26 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -108,7 +108,6 @@ in "/info" "/lib" "/man" - "/sbin" "/share/emacs" "/share/vim-plugins" "/share/org" diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix index e0379a2c02af..1a84e05763fd 100644 --- a/nixos/modules/programs/environment.nix +++ b/nixos/modules/programs/environment.nix @@ -39,7 +39,7 @@ in # TODO: move most of these elsewhere environment.profileRelativeEnvVars = - { PATH = [ "/bin" "/sbin" "/lib/kde4/libexec" ]; + { PATH = [ "/bin" "/lib/kde4/libexec" ]; INFOPATH = [ "/info" "/share/info" ]; PKG_CONFIG_PATH = [ "/lib/pkgconfig" ]; TERMINFO_DIRS = [ "/share/terminfo" ];