forked from mirrors/nixpkgs
Only apply patch on darwin
This commit is contained in:
parent
2b114a8c29
commit
4e96d0e2b7
|
@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
# Without this patch cmake fails with a "No known features for CXX compiler"
|
||||
# error
|
||||
patches = [./move-project.patch];
|
||||
# error on darwin
|
||||
patches = stdenv.lib.optional stdenv.isDarwin ./move-project.patch ;
|
||||
|
||||
# tells CMake to use this CA bundle file if it is accessible
|
||||
preConfigure = ''export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt'';
|
||||
|
|
Loading…
Reference in a new issue