Merge pull request #5246 from edolstra/faster-check
Speed up 'nix flake check'
This commit is contained in:
commit
e664270c2b
|
@ -178,8 +178,8 @@
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
'';
|
'';
|
||||||
installCheckPhase = "make installcheck";
|
|
||||||
|
|
||||||
|
installCheckPhase = "make installcheck -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES";
|
||||||
};
|
};
|
||||||
|
|
||||||
binaryTarball = buildPackages: nix: pkgs: let
|
binaryTarball = buildPackages: nix: pkgs: let
|
||||||
|
@ -502,10 +502,7 @@
|
||||||
# `NIX_DAEMON_SOCKET_PATH` which is required for the tests to work
|
# `NIX_DAEMON_SOCKET_PATH` which is required for the tests to work
|
||||||
# againstLatestStable = testNixVersions pkgs pkgs.nix pkgs.nixStable;
|
# againstLatestStable = testNixVersions pkgs pkgs.nix pkgs.nixStable;
|
||||||
} "touch $out";
|
} "touch $out";
|
||||||
} // (if system == "x86_64-linux" then (builtins.listToAttrs (map (crossSystem: {
|
});
|
||||||
name = "binaryTarball-${crossSystem}";
|
|
||||||
value = self.hydraJobs.binaryTarballCross.${system}.${crossSystem};
|
|
||||||
}) crossSystems)) else {}));
|
|
||||||
|
|
||||||
packages = forAllSystems (system: {
|
packages = forAllSystems (system: {
|
||||||
inherit (nixpkgsFor.${system}) nix;
|
inherit (nixpkgsFor.${system}) nix;
|
||||||
|
|
Loading…
Reference in a new issue