mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
libfive: fix build on darwin
This commit is contained in:
parent
8e9dcabab7
commit
096b752393
|
@ -61,6 +61,10 @@ stdenv.mkDerivation {
|
|||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=enum-constexpr-conversion";
|
||||
};
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
# No rules to install the mac app, so do it manually.
|
||||
mkdir -p $out/Applications
|
||||
|
|
Loading…
Reference in a new issue