Skip to content

Commit 67ef265

Browse files
committed
lib/tests/test-with-nix: run misc.nix tests in the derivation
This would have allowed us to catch to fromTOML regression in [1] without waiting for the dogfooding on master, since previously these tests [2] were not run for the Nix/Lix under test - only the host nix. [1]: NixOS/nix#13741 [2]: #433710
1 parent 76a7b54 commit 67ef265

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/tests/test-with-nix.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ pkgs.runCommand "nixpkgs-lib-tests-nix-${nix.version}"
7171
echo "Running lib/tests/systems.nix"
7272
[[ $(nix-instantiate --eval --strict lib/tests/systems.nix | tee /dev/stderr) == '[ ]' ]];
7373
74+
echo "Running lib/tests/misc.nix"
75+
[[ $(nix-instantiate --eval --strict lib/tests/misc.nix | tee /dev/stderr) == '[ ]' ]];
76+
7477
mkdir $out
7578
echo success > $out/${nix.version}
7679
''

0 commit comments

Comments
 (0)