Skip to content

Commit

Permalink
remove x86 darwin static builds for now
Browse files Browse the repository at this point in the history
  • Loading branch information
will committed Nov 29, 2023
1 parent cafe16d commit d0b1864
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,17 @@
pkgs.darwin.apple_sdk.frameworks.Foundation
pkgs.darwin.apple_sdk.frameworks.Security
];

mkPkgArgs = { inherit self src; doCheck = false; };
in
rec {
packages.default = crystal.mkPkg {
inherit self src;
doCheck = false;
};
packages = {
default = crystal.mkPkg mkPkgArgs;

packages.static = crystalStatic.mkPkg {
inherit src self;
doCheck = false;
};
${if system == "x86_64-darwin" then null else "static"} = crystalStatic.mkPkg mkPkgArgs;

packages.check = pkgs.linkFarmFromDrvs "cb-all-checks" (builtins.attrValues checks);
check = pkgs.linkFarmFromDrvs "cb-all-checks" (builtins.attrValues checks);
};

devShells.default = pkgs.mkShell {
buildInputs = with crunchy; [ crystal2nix ameba ]
Expand Down

0 comments on commit d0b1864

Please sign in to comment.