diff --git a/flake.nix b/flake.nix index a57473f0de9..9bd33d3ae5b 100644 --- a/flake.nix +++ b/flake.nix @@ -265,10 +265,9 @@ (pkgName: { supportsCross ? true }: { # These attributes go right into `packages.`. "${pkgName}" = nixpkgsFor.${system}.native.nixComponents.${pkgName}; - # evaluation error on boost in nixpkgs on macOS - } // lib.optionalAttrs (!nixpkgsFor.${system}.native.stdenv.hostPlatform.isDarwin) { "${pkgName}-static" = nixpkgsFor.${system}.static.nixComponents.${pkgName}; - } // lib.optionalAttrs supportsCross (flatMapAttrs (lib.genAttrs crossSystems (_: { })) (crossSystem: {}: { + } + // lib.optionalAttrs supportsCross (flatMapAttrs (lib.genAttrs crossSystems (_: { })) (crossSystem: {}: { # These attributes go right into `packages.`. "${pkgName}-${crossSystem}" = nixpkgsFor.${system}.cross.${crossSystem}.nixComponents.${pkgName}; }))