nixpkgs/nixos/lib
Arthur Gautier 18c734d7f2 nixosTest: adds support for lib.extend
When lib overrides were used, before this commit, they would not be made
available in the configuration evaluation of nixosTest's nodes.

Sample code:
``` nix
let
  pkgs = import ./. {
    overlays = [
      (new: old: {
        lib = old.lib.extend (self: super: {
          sorry_dave = builtins.trace "There are no pod bay doors" "sorry dave";
        });
      })
    ];
  };
in
pkgs.testers.nixosTest {
  name = "demo lib overlay";

  nodes = {
    machine = { lib, ... }: {
      environment.etc."got-lib-overlay".text = lib.sorry_dave;
    };
  };

  testScript = { nodes }:
    ''
      start_all()
      machine.succeed('grep dave /etc/got-lib-overlay')
    '';
}
```
2023-06-29 09:13:44 -07:00
..
make-options-doc nixos/make-options-doc: deprecate docbook outputs 2023-06-13 16:56:32 +02:00
test-driver nixosTests.kexec: reconnect properly after 2nd kexec 2023-06-16 19:43:40 +02:00
testing nixosTest: adds support for lib.extend 2023-06-29 09:13:44 -07:00
default.nix
eval-cacheable-options.nix
eval-config-minimal.nix
eval-config.nix
from-env.nix
make-channel.nix
make-disk-image.nix nixos/qemu-vm: use persistent block device names 2023-06-16 19:36:03 +02: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 nixos/qemu: set qemuSerialDevice for loongarch64 2023-06-26 08:58:20 +00:00
systemd-lib.nix
systemd-types.nix
systemd-unit-options.nix systemd.units.<name>.wantedBy: fix documentation rendering 2023-05-18 18:04:31 +02:00
test-script-prepend.py
testing-python.nix
utils.nix