summary refs log tree commit diff
path: root/pkgs/development/libraries/qca-qt5
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2018-03-14 18:22:10 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2018-03-14 18:22:10 +0000
commit4e96d0e2b7a87197610e7fea3a1c486ceda58c8a (patch)
tree96a9eff06d3998553411b8f72a630a75c9aa7e24 /pkgs/development/libraries/qca-qt5
parent2b114a8c29071b8adc44d5d5c63abbf503bc4cc8 (diff)
downloadnixpkgs-4e96d0e2b7a87197610e7fea3a1c486ceda58c8a.tar
nixpkgs-4e96d0e2b7a87197610e7fea3a1c486ceda58c8a.tar.gz
nixpkgs-4e96d0e2b7a87197610e7fea3a1c486ceda58c8a.tar.bz2
nixpkgs-4e96d0e2b7a87197610e7fea3a1c486ceda58c8a.tar.lz
nixpkgs-4e96d0e2b7a87197610e7fea3a1c486ceda58c8a.tar.xz
nixpkgs-4e96d0e2b7a87197610e7fea3a1c486ceda58c8a.tar.zst
nixpkgs-4e96d0e2b7a87197610e7fea3a1c486ceda58c8a.zip
Only apply patch on darwin
Diffstat (limited to 'pkgs/development/libraries/qca-qt5')
-rw-r--r--pkgs/development/libraries/qca-qt5/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/qca-qt5/default.nix b/pkgs/development/libraries/qca-qt5/default.nix
index db40a40d02d..6e190a656f6 100644
--- a/pkgs/development/libraries/qca-qt5/default.nix
+++ b/pkgs/development/libraries/qca-qt5/default.nix
@@ -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'';