about summary refs log tree commit diff
path: root/pkgs/by-name/ca/caligula/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ca/caligula/package.nix')
-rw-r--r--pkgs/by-name/ca/caligula/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ca/caligula/package.nix b/pkgs/by-name/ca/caligula/package.nix
index 6cb36421eaae..b423fa01beca 100644
--- a/pkgs/by-name/ca/caligula/package.nix
+++ b/pkgs/by-name/ca/caligula/package.nix
@@ -20,11 +20,11 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-ma7JVbWSiKfkCXCDwA8DFm2+KPrWR+8nSdgGSqehNg8=";
 
   env = {
-     LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
+     LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";
    };
 
 
-  buildInputs = lib.optionals stdenv.isDarwin (
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
     with darwin.apple_sdk.frameworks; [
       Cocoa
       IOKit