summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorArthur Gautier <arthur.gautier@arista.com>2023-06-14 23:12:44 -0700
committerArthur Gautier <arthur.gautier@arista.com>2023-06-29 09:13:44 -0700
commit562f879cd173525076b79fc9b04de77004ad37c8 (patch)
tree5e3b03c0e81dc0654a7304c8711f7bb149cda698 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent18c734d7f2ca4e86730808b8b4900363cb705ed3 (diff)
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') ''; } ```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions