diff options
| author | Jason Yundt <jason@jasonyundt.email> | 2025-06-24 09:08:27 -0400 |
|---|---|---|
| committer | Jason Yundt <jason@jasonyundt.email> | 2025-06-24 10:18:56 -0400 |
| commit | d54262911cee609de70c254cf6f3407d962219c8 (patch) | |
| tree | a3bcf26deefc3b5d69d82b18aeb158d520b7169e /pkgs/development/python-modules/python-openstackclient | |
| parent | 178533727421475e1743fed104214009d65a93b8 (diff) | |
nixos/systemd: fix run0 failing to run commands
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>
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
