nixpkgs-suyu/pkgs
Arthur Gautier 562f879cd1 runNixOSTest: 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.runNixOSTest {
  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
..
applications Merge pull request #240311 from Luflosi/update/kubo-migrator 2023-06-29 16:16:31 +02:00
build-support runNixOSTest: adds support for lib.extend 2023-06-29 09:13:44 -07:00
common-updater
data Merge pull request #240463 from r-ryantm/auto-update/tela-circle-icon-theme 2023-06-29 10:25:26 +03:00
desktops Merge pull request #240261 from bobby285271/upd/pantheon 2023-06-29 23:31:46 +08:00
development Merge pull request #240443 from r-ryantm/auto-update/oneDNN 2023-06-29 17:35:31 +03:00
games Merge pull request #240491 from r-ryantm/auto-update/gcompris 2023-06-29 17:38:07 +03:00
misc Merge pull request #216063 from Stunkymonkey/source-and-tags-phases 2023-06-29 16:23:35 +02:00
os-specific Merge pull request #240360 from Myaats/linux-firmware 2023-06-29 17:15:21 +03:00
pkgs-lib
servers Merge pull request #240536 from marsam/update-timescaledb 2023-06-29 11:05:58 -05:00
shells Merge pull request #240508 from r-ryantm/auto-update/oh-my-zsh 2023-06-29 09:55:57 -04:00
stdenv
test tests.texlive.binaries: init (#239804) 2023-06-28 18:06:06 -04:00
tools Merge pull request #240466 from r-ryantm/auto-update/flannel 2023-06-29 17:24:56 +03:00
top-level Merge pull request #240100 from ee2500/sregex 2023-06-29 16:17:14 +02:00