From 2cf8110f5a01901a6d5394d62313e8b8a3a10b7e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 14 Sep 2021 11:34:32 +0200 Subject: [PATCH] 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. --- flake.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 3c24c94db..7419b82cd 100644 --- a/flake.nix +++ b/flake.nix @@ -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;