From 36f2ab21eae7b7924f7bbeb62f7453a9d94defbc Mon Sep 17 00:00:00 2001 From: nikstur Date: Sat, 28 Oct 2023 23:50:24 +0200 Subject: [PATCH] nixos/tests/incron: replace activcationScript via tmpfiles --- nixos/tests/incron.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/incron.nix b/nixos/tests/incron.nix index c978ff27dfad..d016360ba0ef 100644 --- a/nixos/tests/incron.nix +++ b/nixos/tests/incron.nix @@ -13,9 +13,9 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: ''; # ensure the directory to be monitored exists before incron is started - system.activationScripts.incronTest = '' - mkdir /test - ''; + systemd.tmpfiles.settings.incron-test = { + "/test".d = { }; + }; }; testScript = ''