nixpkgs/nixos/lib
Gabriella Gonzalez b8698cd8d6
macOS support for NixOS tests (#282401)
Closes #193336
Closes #261694
Related to #108984

The goal here was to get the following flake to build and run on
`aarch64-darwin`:

```nix
{ inputs.nixpkgs.url = <this branch>;

  outputs = { nixpkgs, ... }: {
    checks.aarch64-darwin.default =
      nixpkgs.legacyPackages.aarch64-darwin.nixosTest {
        name = "test";

        nodes.machine = { };

        testScript = "";
      };
  };
}
```

… and after this change it does.  There's no longer a need for the
user to set `nodes.*.nixpkgs.pkgs` or
`nodes.*.virtualisation.host.pkgs` as the correct values are inferred
from the host system.
2024-03-02 06:33:14 +01:00
..
make-options-doc
test-driver nixos/lib/test-driver: make the warning message more noticeable 2024-03-01 13:20:09 +03:00
testing macOS support for NixOS tests (#282401) 2024-03-02 06:33:14 +01:00
default.nix
eval-cacheable-options.nix
eval-config-minimal.nix
eval-config.nix
from-env.nix
make-btrfs-fs.nix
make-channel.nix
make-disk-image.nix nixos/lib/make-disk-image.nix: fix systemd-boot-builder clobbering /homeless-shelter 2024-03-01 12:52:48 +01:00
make-ext4-fs.nix
make-iso9660-image.nix
make-iso9660-image.sh
make-multi-disk-zfs-image.nix
make-single-disk-zfs-image.nix
make-squashfs.nix
make-system-tarball.nix
make-system-tarball.sh
qemu-common.nix
systemd-lib.nix systemd: fix propagation of upheldBy option to units 2024-02-29 02:01:24 +02:00
systemd-network-units.nix
systemd-types.nix
systemd-unit-options.nix Merge pull request #290946 from ju1m/systemd-option-list 2024-02-27 20:49:39 -05:00
test-script-prepend.py nixos/lib/test-driver: provide legacy path for create_machine({"startCommand": "..."}) 2024-02-28 09:32:11 +03:00
testing-python.nix
utils.nix