Merge pull request #123098 from stephank/fix-flip-link-darwin

flip-link: fix darwin build
This commit is contained in:
Mario Rodas 2021-05-15 10:44:09 -05:00 committed by GitHub
commit b065b36e86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "flip-link";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "13rgpbwaz2b928rg15lbaszzjymph54pwingxpszp5paihx4iayr";
buildInputs = lib.optional stdenv.isDarwin libiconv;
meta = with lib; {
description = "Adds zero-cost stack overflow protection to your embedded programs";
homepage = "https://github.com/knurling-rs/flip-link";