From ea44ca47f31b4c798e26e4fe074c63920ecb2ba0 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 25 Jun 2017 21:42:07 +0200 Subject: [PATCH] security-wrapper: run activation script after specialfs Ensures that parentWrapperDir exists before it is used. Closes #26851 --- nixos/modules/security/wrappers/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix index dc1227c5628d..a6dc8faaae98 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.