Fixes #361592. I was able to test this change by doing the following: 1. Create a file named “test-systemd-run0.nix” that contains this Nix expression: let nixpkgs = /path/to/nixpkgs; pkgs = import nixpkgs { }; in pkgs.testers.runNixOSTest { name = "test-systemd-run0"; nodes.machine = { security.polkit.enable = true; }; testScript = '' start_all() machine.succeed("run0 env") ''; } 2. Replace “/path/to/nixpkgs” with the actual path to an actual copy of Nixpkgs. 3. Run the integration test by running this command: nix-build <path to test-systemd-run0.nix>
27 KiB
27 KiB