Skip to content
Snippets Groups Projects
Commit 226ead02 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

explain why we have pkgs in this pattern

parent 798cc4fe
No related branches found
No related tags found
1 merge request!9End-to-end system test
......@@ -35,6 +35,8 @@ let
# mergeNodeAndNetwork :: Integer -> Name -> (Set -> AttrSet) -> {Name, (Set -> AttrSet)}
mergeNodeAndNetwork = number: name: node: {
inherit name;
# Sadly we have to name arguments in this definition to get them
# automatically passed in by the various autocall helpers in Nix.
value = args@{ pkgs, ... }: ((node args) // (makeNetwork number));
};
at = builtins.elemAt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment