From a5811a42cb4a547b6c73d22c8020f82107b35f05 Mon Sep 17 00:00:00 2001 From: reo101 Date: Mon, 29 Jul 2024 11:15:53 +0300 Subject: [PATCH] fix(pngpaste): only compile when both `host` and `target` are `darwin` --- pkgs/pngpaste/systems.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/pngpaste/systems.nix b/pkgs/pngpaste/systems.nix index 3ae6942..f6090f8 100644 --- a/pkgs/pngpaste/systems.nix +++ b/pkgs/pngpaste/systems.nix @@ -1,2 +1,2 @@ { lib, hostPlatform, targetPlatform, ... }: -targetPlatform.isDarwin +hostPlatform.isDarwin && targetPlatform.isDarwin