git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #123098 from stephank/fix-flip-link-darwin

flip-link: fix darwin build

commitb065b36e860f570537feaaf40707451416208af4 authorMario Rodas <marsam@users.noreply.github.com> dateSat 15 May 2021, 10:44 (6 years ago) parent94a0ad29b79f03
1 file changed+3−1
pkgs/development/tools/flip-link/default.nix+3−1
pkgs/development/tools/flip-link/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ lib, rustPlatform, fetchFromGitHub }:
1+{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "flip-link";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
1313
1414 cargoSha256 = "13rgpbwaz2b928rg15lbaszzjymph54pwingxpszp5paihx4iayr";
1515
16+ buildInputs = lib.optional stdenv.isDarwin libiconv;
17+
1618 meta = with lib; {
1719 description = "Adds zero-cost stack overflow protection to your embedded programs";
1820 homepage = "https://github.com/knurling-rs/flip-link";