cron: remove sbin from PATH

follow up of https://github.com/NixOS/nixpkgs/pull/25550
This commit is contained in:
Jörg Thalheim 2017-05-09 08:46:24 +01:00
parent 0e6950ded6
commit e060a5ee15
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation {
#define _PATH_SENDMAIL "${sendmailPath}"
#undef _PATH_DEFPATH
#define _PATH_DEFPATH "/run/wrappers/bin:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/run/current-system/sw/bin:/run/current-system/sw/sbin:/usr/bin:/bin"
#define _PATH_DEFPATH "/run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin"
__EOT__
# Implicit saved uids do not work here due to way NixOS uses setuid wrappers