about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2019-12-15 10:37:53 +0100
committerGitHub <noreply@github.com>2019-12-15 10:37:53 +0100
commit86ed15dcce7de9c9cac5755663b622142a89d76d (patch)
tree770111f6038cabcbba4915d19711101f25926330
parent1f7ee3e040e1efd2e9803356b1c71f03c688afda (diff)
parent3f9333064be595da2cc2eb35b734b11e54a12fd5 (diff)
downloadnixlib-86ed15dcce7de9c9cac5755663b622142a89d76d.tar
nixlib-86ed15dcce7de9c9cac5755663b622142a89d76d.tar.gz
nixlib-86ed15dcce7de9c9cac5755663b622142a89d76d.tar.bz2
nixlib-86ed15dcce7de9c9cac5755663b622142a89d76d.tar.lz
nixlib-86ed15dcce7de9c9cac5755663b622142a89d76d.tar.xz
nixlib-86ed15dcce7de9c9cac5755663b622142a89d76d.tar.zst
nixlib-86ed15dcce7de9c9cac5755663b622142a89d76d.zip
Merge pull request #75678 from marsam/fix-vdirsyncer-darwin
vdirsyncer: fix build on darwin
-rw-r--r--pkgs/tools/misc/vdirsyncer/default.nix4
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/misc/vdirsyncer/default.nix b/pkgs/tools/misc/vdirsyncer/default.nix
index 1cb3920a9c23..328c343ba702 100644
--- a/pkgs/tools/misc/vdirsyncer/default.nix
+++ b/pkgs/tools/misc/vdirsyncer/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, python3Packages, fetchFromGitHub, fetchpatch, rustPlatform, pkgconfig, openssl, Security }:
+{ stdenv, python3Packages, fetchFromGitHub, fetchpatch, rustPlatform, pkgconfig, openssl, CoreServices, Security }:
 
 # Packaging documentation at:
 # https://github.com/untitaker/vdirsyncer/blob/master/docs/packaging.rst
@@ -20,7 +20,7 @@ python3Packages.buildPythonApplication rec {
     inherit src;
     sourceRoot = "source/rust";
     cargoSha256 = "1n1dxq3klsry5mmbfff2jv7ih8mr5zvpncrdgba6qs93wi77qi0y";
-    buildInputs = [ pkgconfig openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
+    buildInputs = [ pkgconfig openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
   };
 
   propagatedBuildInputs = with python3Packages; [
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 5a3ff9c4b665..b1fb203c98cf 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -21616,7 +21616,7 @@ in
   vcv-rack = callPackage ../applications/audio/vcv-rack { };
 
   vdirsyncer = callPackage ../tools/misc/vdirsyncer {
-    inherit (darwin.apple_sdk.frameworks) Security;
+    inherit (darwin.apple_sdk.frameworks) CoreServices Security;
   };
 
   vdirsyncerStable = callPackage ../tools/misc/vdirsyncer/stable.nix { };