mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
nixos/tests/incron: replace activcationScript via tmpfiles
This commit is contained in:
parent
80fa4731f9
commit
36f2ab21ea
@ -13,9 +13,9 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# ensure the directory to be monitored exists before incron is started
|
# ensure the directory to be monitored exists before incron is started
|
||||||
system.activationScripts.incronTest = ''
|
systemd.tmpfiles.settings.incron-test = {
|
||||||
mkdir /test
|
"/test".d = { };
|
||||||
'';
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user