3
0
Fork 0
forked from mirrors/nixpkgs

Only apply patch on darwin

This commit is contained in:
Matthew Pickering 2018-03-14 18:22:10 +00:00
parent 2b114a8c29
commit 4e96d0e2b7

View file

@ -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'';