summary refs log tree commit diff
path: root/nixos/modules/security/wrappers
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-06-25 21:42:07 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2017-06-26 09:26:16 +0200
commitea44ca47f31b4c798e26e4fe074c63920ecb2ba0 (patch)
tree376dae79a6d48b51466aa95051a7bd00604f095e /nixos/modules/security/wrappers
parent813feae594783fd5b2e43850f6ae250f17dde01e (diff)
downloadnixpkgs-ea44ca47f31b4c798e26e4fe074c63920ecb2ba0.tar
nixpkgs-ea44ca47f31b4c798e26e4fe074c63920ecb2ba0.tar.gz
nixpkgs-ea44ca47f31b4c798e26e4fe074c63920ecb2ba0.tar.bz2
nixpkgs-ea44ca47f31b4c798e26e4fe074c63920ecb2ba0.tar.lz
nixpkgs-ea44ca47f31b4c798e26e4fe074c63920ecb2ba0.tar.xz
nixpkgs-ea44ca47f31b4c798e26e4fe074c63920ecb2ba0.tar.zst
nixpkgs-ea44ca47f31b4c798e26e4fe074c63920ecb2ba0.zip
security-wrapper: run activation script after specialfs
Ensures that parentWrapperDir exists before it is used.

Closes #26851
Diffstat (limited to 'nixos/modules/security/wrappers')
-rw-r--r--nixos/modules/security/wrappers/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix
index dc1227c5628..a6dc8faaae9 100644
--- a/nixos/modules/security/wrappers/default.nix
+++ b/nixos/modules/security/wrappers/default.nix
@@ -171,7 +171,7 @@ in
 
     ###### setcap activation script
     system.activationScripts.wrappers =
-      lib.stringAfter [ "users" ]
+      lib.stringAfter [ "specialfs" "users" ]
         ''
           # Look in the system path and in the default profile for
           # programs to be wrapped.