summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-05-09 08:46:24 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-05-09 08:50:58 +0100
commite060a5ee15522f681026cc7191e3659ef4552f1f (patch)
tree145866cfe9d0c09fc6736c1897485e95f62ea4cf /pkgs/tools
parent0e6950ded6a19b9a952eb1f26e9156ce939d7368 (diff)
downloadnixpkgs-e060a5ee15522f681026cc7191e3659ef4552f1f.tar
nixpkgs-e060a5ee15522f681026cc7191e3659ef4552f1f.tar.gz
nixpkgs-e060a5ee15522f681026cc7191e3659ef4552f1f.tar.bz2
nixpkgs-e060a5ee15522f681026cc7191e3659ef4552f1f.tar.lz
nixpkgs-e060a5ee15522f681026cc7191e3659ef4552f1f.tar.xz
nixpkgs-e060a5ee15522f681026cc7191e3659ef4552f1f.tar.zst
nixpkgs-e060a5ee15522f681026cc7191e3659ef4552f1f.zip
cron: remove sbin from PATH
follow up of https://github.com/NixOS/nixpkgs/pull/25550
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/system/cron/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/cron/default.nix b/pkgs/tools/system/cron/default.nix
index bf345fadbd4..910bee727bb 100644
--- a/pkgs/tools/system/cron/default.nix
+++ b/pkgs/tools/system/cron/default.nix
@@ -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