feat: helper functions; docs: more complex examples
This commit is contained in:
20 files changed
+1046
-19
No files matched your search
+3
-1
@@ -9,10 +9,12 @@
|
||||
let
|
||||
generated = import ./read-generated.nix;
|
||||
|
||||
# Every fixture shares this one nixpkgs instead of importing its own: about 200 MB and
|
||||
# 4 s less per evaluation. No fixture sets nixpkgs.* options, which this would ignore.
|
||||
evalProxySuite =
|
||||
modules:
|
||||
import "${nixpkgs}/nixos/lib/eval-config.nix" {
|
||||
inherit system;
|
||||
inherit system pkgs;
|
||||
modules = [ proxySuiteModule ] ++ modules;
|
||||
};
|
||||
forceEval = value: builtins.tryEval (builtins.deepSeq value true);
|
||||
|
||||
Reference in new issue
Block a user