Skip to content

Commit

Permalink
nix: testing bindgenHook on macos-12
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaci committed Dec 15, 2023
1 parent e9fb7ec commit d810d82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- os: ubuntu-latest
arch: aarch64-linux
drv: "vectorscan"
- os: macos-11
- os: macos-latest
arch: x86_64-darwin
drv: vectorscan
name: Nix - ${{ matrix.arch }}.${{ matrix.drv }}
Expand Down
2 changes: 1 addition & 1 deletion pyperscan.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ let
++ (optionals (vendorVectorscan) [ "-F vectorscan" ]);

nativeBuildInputs = with rustPlatform; [
bindgenHook
cargoSetupHook
(maturinBuildHook.override { pkgsHostTarget = { inherit maturin cargo rustc; }; })
] ++ optional (vendor && stdenv.isLinux) util-linux
++ optional (!stdenv.isDarwin) bindgenHook # HACK: bindgen segfaults on Darwin with LLVM from nixpkgs
++ optional coverage cargo-llvm-cov;

preConfigure = optionalString coverage ''
Expand Down

0 comments on commit d810d82

Please sign in to comment.