about summary refs log tree commit diff
path: root/pkgs/by-name/de/deltachat-desktop/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/de/deltachat-desktop/package.nix')
-rw-r--r--pkgs/by-name/de/deltachat-desktop/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/de/deltachat-desktop/package.nix b/pkgs/by-name/de/deltachat-desktop/package.nix
index dd647ef0ebf2..78f7c75d4e03 100644
--- a/pkgs/by-name/de/deltachat-desktop/package.nix
+++ b/pkgs/by-name/de/deltachat-desktop/package.nix
@@ -53,13 +53,13 @@ buildNpmPackage rec {
     makeWrapper
     pkg-config
     python3
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     copyDesktopItems
   ];
 
   buildInputs = [
     deltachat-rpc-server
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.CoreServices
   ];