feat: helper functions; docs: more complex examples

This commit is contained in:
fufsob committed 2026-09-25 11:00:55 +00:00
1 parent 63d9dffcae
commit 878983147c
20 files changed
+1046 -19

No files matched your search

+3 -1
View File
@@ -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);