From 539b091f6e0dab89071c55f34e6583b7a0584fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 6 May 2017 08:34:19 +0100 Subject: [PATCH] environment: remove sbin from PATH sbin is a symlink to bin. /run/current-system/sw/sbin and related profiles only contains packages, which have this symlink. It is a subset of bin. --- nixos/modules/programs/environment.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix index 5a63b806cd7..6c0d5d8b604 100644 --- a/nixos/modules/programs/environment.nix +++ b/nixos/modules/programs/environment.nix @@ -31,7 +31,7 @@ in # TODO: move most of these elsewhere environment.profileRelativeEnvVars = - { PATH = [ "/bin" "/sbin" ]; + { PATH = [ "/bin" ]; INFOPATH = [ "/info" "/share/info" ]; PKG_CONFIG_PATH = [ "/lib/pkgconfig" ]; TERMINFO_DIRS = [ "/share/terminfo" ];