Skip to content

Commit

Permalink
Add missing env vars to build
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Dec 6, 2024
1 parent 04b2be4 commit e581dfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
doCheck = true;
buildInputs = with pkgs; [ ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security SystemConfiguration ]);
nativeBuildInputs = with pkgs; [ ] ++ lib.optionals stdenv.isDarwin [ libiconv ];

env = {
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
NIX_CFLAGS_COMPILE = pkgs.lib.optionalString pkgs.stdenv.isDarwin "-I${pkgs.libcxx.dev}/include/c++/v1";
};
};
});

Expand Down

0 comments on commit e581dfe

Please sign in to comment.