about summary refs log tree commit diff
path: root/pkgs/applications/graphics/emblem/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/emblem/default.nix')
-rw-r--r--pkgs/applications/graphics/emblem/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/emblem/default.nix b/pkgs/applications/graphics/emblem/default.nix
index 2b249d7e294e..c0f9046fa9c8 100644
--- a/pkgs/applications/graphics/emblem/default.nix
+++ b/pkgs/applications/graphics/emblem/default.nix
@@ -49,11 +49,11 @@ stdenv.mkDerivation rec {
   buildInputs = [
     libadwaita
     libxml2
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Foundation
   ];
 
-  env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
+  env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.hostPlatform.isDarwin [
     "-Wno-error=incompatible-function-pointer-types"
   ]);