1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-24 11:19:35 +01:00

Add a github action step to run the tests against current master

This commit is contained in:
regnat 2021-07-23 14:28:29 +02:00
parent bcd73ebf60
commit f4638b64a1
2 changed files with 9 additions and 0 deletions

View file

@ -504,6 +504,12 @@
} "touch $out";
});
lib = {
testAgainst = forAllSystems (system:
testNixVersions nixpkgsFor.${system} nixpkgsFor.${system}.nix
);
};
packages = forAllSystems (system: {
inherit (nixpkgsFor.${system}) nix;
} // (nixpkgs.lib.optionalAttrs (builtins.elem system linux64BitSystems) {