Skip to content

Commit

Permalink
Repair nix shell requiring broken glibc on Darwin (#335)
Browse files Browse the repository at this point in the history
Signed-off-by: Ana Hobden <[email protected]>
  • Loading branch information
Hoverbear authored Dec 16, 2021
1 parent 63f5e6e commit 9882ec1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@
PGX_PG_SYS_SKIP_BINDING_REWRITE = "1";
BINDGEN_EXTRA_CLANG_ARGS = [
''-I"${pkgs.llvmPackages.libclang.lib}/lib/clang/${pkgs.llvmPackages.libclang.version}/include"''
] ++ (if pkgs.stdenv.isLinux then [
"-I ${pkgs.glibc.dev}/include"
];
] else [ ]);
});

checks = forAllSystems (system:
Expand Down

0 comments on commit 9882ec1

Please sign in to comment.