From 5ca82dd69fb0689cd86de63bcc8e305a104b5209 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 18 May 2024 18:27:10 +0300 Subject: [PATCH] heh: fix build on darwin --- pkgs/applications/editors/heh/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/editors/heh/default.nix b/pkgs/applications/editors/heh/default.nix index 0b31e30e67f5..23d9ffafea20 100644 --- a/pkgs/applications/editors/heh/default.nix +++ b/pkgs/applications/editors/heh/default.nix @@ -2,6 +2,7 @@ , stdenv , rustPlatform , fetchFromGitHub +, darwin }: rustPlatform.buildRustPackage rec { @@ -15,6 +16,10 @@ rustPlatform.buildRustPackage rec { hash = "sha256-zkb+HogwioqxZ+BTl7bcDQx9i9uWhT2QdAIXpHqvDl0="; }; + buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ + AppKit + ]); + cargoHash = "sha256-YcTaLq04NhmnJ1pdbiKMRIBSFvHNWNgoAS8Uz8uGGAw="; meta = with lib; {