Merge pull request #312689 from eliandoran/darwin/heh

heh: fix build on darwin

authored by Weijia Wang and committed by GitHub 35588150 2e3f58d2

+5
+5
pkgs/applications/editors/heh/default.nix
··· 2 , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 }: 6 7 rustPlatform.buildRustPackage rec { ··· 14 rev = "v${version}"; 15 hash = "sha256-zkb+HogwioqxZ+BTl7bcDQx9i9uWhT2QdAIXpHqvDl0="; 16 }; 17 18 cargoHash = "sha256-YcTaLq04NhmnJ1pdbiKMRIBSFvHNWNgoAS8Uz8uGGAw="; 19
··· 2 , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 + , darwin 6 }: 7 8 rustPlatform.buildRustPackage rec { ··· 15 rev = "v${version}"; 16 hash = "sha256-zkb+HogwioqxZ+BTl7bcDQx9i9uWhT2QdAIXpHqvDl0="; 17 }; 18 + 19 + buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 20 + AppKit 21 + ]); 22 23 cargoHash = "sha256-YcTaLq04NhmnJ1pdbiKMRIBSFvHNWNgoAS8Uz8uGGAw="; 24