about summary refs log tree commit diff
path: root/pkgs/development/libraries/libxklavier/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libxklavier/default.nix')
-rw-r--r--pkgs/development/libraries/libxklavier/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libxklavier/default.nix b/pkgs/development/libraries/libxklavier/default.nix
index 3fa295279f0c..b6a217d9fbf8 100644
--- a/pkgs/development/libraries/libxklavier/default.nix
+++ b/pkgs/development/libraries/libxklavier/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
 
   patches = [
     ./honor-XKB_CONFIG_ROOT.patch
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     (fetchpatch {
       url = "https://gitlab.freedesktop.org/archived-projects/libxklavier/-/commit/1387c21a788ec1ea203c8392ea1460fc29d83f70.patch";
       sha256 = "sha256-fyWu7sVfDv/ozjhLSLCVsv+iNFawWgJqHUsQHHSkQn4=";