Skip to content

Commit

Permalink
Revert "nix-static: disable on macOS"
Browse files Browse the repository at this point in the history
This reverts commit e44d98b.
  • Loading branch information
Mic92 committed Nov 6, 2024
1 parent e44d98b commit ed60f23
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,9 @@
(pkgName: { supportsCross ? true }: {
# These attributes go right into `packages.<system>`.
"${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.<system>`.
"${pkgName}-${crossSystem}" = nixpkgsFor.${system}.cross.${crossSystem}.nixComponents.${pkgName};
}))
Expand Down

0 comments on commit ed60f23

Please sign in to comment.