summary refs log tree commit diff
path: root/nixos/modules/security/wrappers
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2021-09-12 19:29:22 +0200
committerrnhmjoj <rnhmjoj@inventati.org>2021-09-13 13:48:13 +0200
commit27dcb04cde501f731a79ea5d5cf25a21de5a91ad (patch)
tree1cb59dbc2577299622ca742a99afda858f53a528 /nixos/modules/security/wrappers
parent936e8eaf411248e34ceef219fb94acfbb66060a0 (diff)
downloadnixpkgs-27dcb04cde501f731a79ea5d5cf25a21de5a91ad.tar
nixpkgs-27dcb04cde501f731a79ea5d5cf25a21de5a91ad.tar.gz
nixpkgs-27dcb04cde501f731a79ea5d5cf25a21de5a91ad.tar.bz2
nixpkgs-27dcb04cde501f731a79ea5d5cf25a21de5a91ad.tar.lz
nixpkgs-27dcb04cde501f731a79ea5d5cf25a21de5a91ad.tar.xz
nixpkgs-27dcb04cde501f731a79ea5d5cf25a21de5a91ad.tar.zst
nixpkgs-27dcb04cde501f731a79ea5d5cf25a21de5a91ad.zip
nixos/security/wrappers: remove WRAPPER_PATH
This appears to be a leftover from 628e6a83.
Diffstat (limited to 'nixos/modules/security/wrappers')
-rw-r--r--nixos/modules/security/wrappers/default.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix
index 2f2c170e460..8c9d0b487bb 100644
--- a/nixos/modules/security/wrappers/default.nix
+++ b/nixos/modules/security/wrappers/default.nix
@@ -230,10 +230,6 @@ in
     system.activationScripts.wrappers =
       lib.stringAfter [ "specialfs" "users" ]
         ''
-          # Look in the system path and in the default profile for
-          # programs to be wrapped.
-          WRAPPER_PATH=${config.system.path}/bin:${config.system.path}/sbin
-
           chmod 755 "${parentWrapperDir}"
 
           # We want to place the tmpdirs for the wrappers to the parent dir.