nixpkgs-suyu/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 treewide: don't use python3Minimal where it is not required 2023-12-21 02:21:48 +01:00
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 nixos: Expose lib attribute on configuration for repl 2024-01-15 00:28:07 +01:00
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 nixos/lib/make-squashfs.nix: allow disabling compression 2024-01-07 22:46:20 -06:00
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 nixos/networkd: add [IPVLAN] and [IPVTAP] configuration options to systemd.netdev files 2023-11-18 08:43:21 +01:00
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 nixos/utils: fix stack overflow in genJqReplacementSnippet (#284027) 2024-01-30 11:00:08 +01:00