mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
poppler: fix build with Clang
This commit is contained in:
parent
ff8cd76c6f
commit
c79bfd86cb
1 changed files with 8 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
fetchurl,
|
||||
fetchFromGitLab,
|
||||
cairo,
|
||||
clang-tools,
|
||||
cmake,
|
||||
boost,
|
||||
curl,
|
||||
|
|
@ -81,6 +82,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
]
|
||||
++ lib.optionals (!minimal) [
|
||||
glib # for glib-mkenums
|
||||
]
|
||||
++ lib.optionals stdenv.cc.isClang [
|
||||
# Pick up the `clang-scan-deps` wrapper for CMake; see:
|
||||
#
|
||||
# * <https://github.com/NixOS/nixpkgs/issues/452260>
|
||||
# * <https://github.com/NixOS/nixpkgs/pull/514323>
|
||||
clang-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue