From e060a5ee15522f681026cc7191e3659ef4552f1f Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Tue, 9 May 2017 08:46:24 +0100 Subject: cron: remove sbin from PATH follow up of https://github.com/NixOS/nixpkgs/pull/25550 --- pkgs/tools/system/cron/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/tools') 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 -- cgit 1.4.1