flake.nix: Don't do cross builds in 'nix flake check'

'nix flake check' should be relatively fast, so it's not the best
place to do cross-builds. We're already doing that in Hydra.
This commit is contained in:
Eelco Dolstra 2021-09-14 11:34:32 +02:00
parent 6ff19ce137
commit 2cf8110f5a

View file

@ -502,10 +502,7 @@
# `NIX_DAEMON_SOCKET_PATH` which is required for the tests to work
# againstLatestStable = testNixVersions pkgs pkgs.nix pkgs.nixStable;
} "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: {
inherit (nixpkgsFor.${system}) nix;