krebs.setuid: remove security.wrappers's cruft

This commit is contained in:
tv 2022-01-27 05:37:32 +01:00
parent 10891882ab
commit ad6f0cd901

View File

@ -80,7 +80,12 @@ with import <stockholm/lib>;
imp = { imp = {
system.activationScripts."krebs.setuid" = stringAfter [ "wrappers" ] system.activationScripts."krebs.setuid" = stringAfter [ "wrappers" ]
(concatMapStringsSep "\n" (getAttr "activate") (attrValues config.krebs.setuid)); (concatMapStringsSep "\n"
(cfg: /* sh */ ''
${cfg.activate}
rm -f ${cfg.wrapperDir}/${cfg.name}.real
'')
(attrValues config.krebs.setuid));
}; };
in out in out