git.iko.soy/typeable/nixpkgs
on master help sign in
navi: fix build on darwin
commit28a32994259456af933f588153533f2147c692ba authorMario Rodas <marsam@users.noreply.github.com> dateMon 12 Apr 2021, 04:20 (6 years ago) parentc295eed
1 file changed+3−1
pkgs/applications/misc/navi/default.nix+3−1
pkgs/applications/misc/navi/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, fzf, lib, makeWrapper, rustPlatform, wget }:
1+{ stdenv, fetchFromGitHub, fzf, lib, makeWrapper, rustPlatform, wget, libiconv }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "navi";
@@ -15,6 +15,8 @@ rustPlatform.buildRustPackage rec {
1515
1616 nativeBuildInputs = [ makeWrapper ];
1717
18+ buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
19+
1820 postInstall = ''
1921 wrapProgram $out/bin/navi \
2022 --prefix PATH : "$out/bin" \