Skip to content

Commit

Permalink
environment: remove sbin from PATH
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mic92 committed May 6, 2017
1 parent 37f59b3 commit 539b091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/programs/environment.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
Expand Down

0 comments on commit 539b091

Please sign in to comment.