Commit 36f2ab21 authored by nikstur's avatar nikstur
Browse files

nixos/tests/incron: replace activcationScript via tmpfiles

parent 80fa4731
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 = ''