From 1dc9e3f0a9d5a46d67d268436e06ffb0848bfe02 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 18 Jul 2024 03:51:42 -0400 Subject: [PATCH] Fix eval, surely there is a better way to do this?> --- packaging/hydra.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/hydra.nix b/packaging/hydra.nix index 4633e4938ab..97ad5c734eb 100644 --- a/packaging/hydra.nix +++ b/packaging/hydra.nix @@ -69,8 +69,10 @@ in lib.genAttrs linux64BitSystems (system: nixpkgsFor.${system}.static.nixComponents.${pkgName})); buildCross = forAllPackages (pkgName: - forAllCrossSystems (crossSystem: - lib.genAttrs [ "x86_64-linux" ] (system: nixpkgsFor.${system}.cross.${crossSystem}.nixComponents.${pkgName}))); + # Hack to avoid non-evaling package + (if pkgName == "nix-functional-tests" then lib.flip builtins.removeAttrs ["x86_64-w64-mingw32"] else lib.id) + (forAllCrossSystems (crossSystem: + lib.genAttrs [ "x86_64-linux" ] (system: nixpkgsFor.${system}.cross.${crossSystem}.nixComponents.${pkgName})))); buildNoGc = forAllSystems (system: self.packages.${system}.nix.override { enableGC = false; }