Merge pull request #123098 from stephank/fix-flip-link-darwin
flip-link: fix darwin build
This commit is contained in:
commit
b065b36e86
|
@ -1,4 +1,4 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "flip-link";
|
pname = "flip-link";
|
||||||
|
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "13rgpbwaz2b928rg15lbaszzjymph54pwingxpszp5paihx4iayr";
|
cargoSha256 = "13rgpbwaz2b928rg15lbaszzjymph54pwingxpszp5paihx4iayr";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Adds zero-cost stack overflow protection to your embedded programs";
|
description = "Adds zero-cost stack overflow protection to your embedded programs";
|
||||||
homepage = "https://github.com/knurling-rs/flip-link";
|
homepage = "https://github.com/knurling-rs/flip-link";
|
||||||
|
|
Loading…
Reference in New Issue