about summary refs log tree commit diff
path: root/pkgs/applications/version-management/lucky-commit/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/version-management/lucky-commit/default.nix')
-rw-r--r--pkgs/applications/version-management/lucky-commit/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/lucky-commit/default.nix b/pkgs/applications/version-management/lucky-commit/default.nix
index dcaca33f0952..6e3cb2c09d5f 100644
--- a/pkgs/applications/version-management/lucky-commit/default.nix
+++ b/pkgs/applications/version-management/lucky-commit/default.nix
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-8JkodGtMdYP/IIBqRcJFD5syiZi+VakDyX7VcvR0HLo=";
 
-  buildInputs = lib.optional withOpenCL (if stdenv.isDarwin then OpenCL else ocl-icd);
+  buildInputs = lib.optional withOpenCL (if stdenv.hostPlatform.isDarwin then OpenCL else ocl-icd);
 
   buildNoDefaultFeatures = !withOpenCL;