1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

heh: fix build on darwin

This commit is contained in:
Elian Doran 2024-05-18 18:27:10 +03:00
parent 9cc583b9d1
commit 5ca82dd69f
No known key found for this signature in database

View file

@ -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; {