Skip to content

Commit

Permalink
Fix build errors on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
jhh committed Sep 12, 2024
1 parent 4fe2826 commit aef7baa
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 124 deletions.
18 changes: 9 additions & 9 deletions flake.lock

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

15 changes: 15 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@
overrides = poetry2nixPkgs.defaultPoetryOverrides.extend
(self: super: {
opencv-python = super.opencv4;
pillow-heif = super.pillow-heif.overridePythonAttrs
(
old: {
# clang-16: error: argument unused during compilation: '-fno-strict-overflow'
NIX_CFLAGS_COMPILE = pkgs.lib.optionalString pkgs.stdenv.cc.isClang "-Wno-unused-command-line-argument";
}
);

psycopg-c = super.psycopg-c.overridePythonAttrs
(
old: {
nativeBuildInputs = old.nativeBuildInputs ++ [ self.setuptools self.pkgs.postgresql ];
}
);

});

in
Expand Down
Loading

0 comments on commit aef7baa

Please sign in to comment.