File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 33 runCommand ,
44 nixpkgs-vet ,
55 initNix ,
6+ writeText ,
67 nixpkgs ,
78 nix ,
89 nixVersions ,
2021 eval . success && lib . isDerivation eval . value
2122 ) attrset ;
2223
24+ configFile = writeText "by-name-config-generated.json" (
25+ builtins . toJSON ( import ./by-name-config.nix )
26+ ) ;
27+
2328 mkNixpkgsCheck =
2429 name : nix :
2530 runCommand "test-nixpkgs-vet-with-${ nix . name } "
2934 nix
3035 ] ;
3136
32- env . NIXPKGS_VET_NIX_PACKAGE = lib . getBin nix ;
37+ env = {
38+ NIXPKGS_VET_NIX_PACKAGE = lib . getBin nix ;
39+ NIXPKGS_VET_CONFIG_FILE = configFile ;
40+ } ;
3341
3442 passthru = {
3543 # Allow running against all other Nix versions.
4654 ${ initNix }
4755 # This is what nixpkgs-vet uses
4856 export NIXPKGS_VET_NIX_PACKAGE=${ lib . getBin nix }
57+ export NIXPKGS_VET_CONFIG_FILE=${ configFile }
4958 ${ nixpkgs-vet } /bin/.nixpkgs-vet-wrapped --base "${ nixpkgs } " "${ nixpkgs } "
5059 touch $out
5160 '' ;
You can’t perform that action at this time.
0 commit comments