Skip to content

Commit

Permalink
default.nix: test with most recent Nix as well
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron committed Jul 8, 2024
1 parent 2d2732d commit 52fd4a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,15 @@ let
'';
};

# Tests the tool on the pinned Nixpkgs tree. This is a good sanity check.
# Tests the tool on the pinned Nixpkgs tree with stable Nix. This is a good sanity check.
# There's a `passthru` attribute that allows testing this on every other Nix version in nixpkgs.
nixpkgsCheck = pkgs.callPackage ./test-nixpkgs-check-by-name.nix {
inherit initNix nixpkgs;
nixpkgs-check-by-name = packages.build;
};

# Tests the tool on the pinned Nixpkgs tree with the most recent Nix. This is a sanity check.
nixpkgsCheckWithLatestNix = packages.nixpkgsCheck.passthru.latest;
};
in
packages
Expand Down

0 comments on commit 52fd4a8

Please sign in to comment.