diff --git a/flake.nix b/flake.nix index 053b683cd8e..5d67f473f98 100644 --- a/flake.nix +++ b/flake.nix @@ -264,9 +264,10 @@ (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}; }))