···1212 nativeBuildInputs = [ cmake pkgconfig ];
13131414 # Without this patch cmake fails with a "No known features for CXX compiler"
1515- # error
1616- patches = [./move-project.patch];
1515+ # error on darwin
1616+ patches = stdenv.lib.optional stdenv.isDarwin ./move-project.patch ;
17171818 # tells CMake to use this CA bundle file if it is accessible
1919 preConfigure = ''export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt'';