git.iko.soy/typeable/nixpkgs
on master help sign in
exa: fix build on darwin
commit1aae247be178dcc27c607e1d3fb6097e0009bc6c authorVincent Laporte <Vincent.Laporte@gmail.com> dateThu 1 Mar 2018, 17:24 (9 years ago) parent8d3aa2f
1 file changed+7−2
pkgs/tools/misc/exa/default.nix+7−2
pkgs/tools/misc/exa/default.nix+7−2
@@ -1,4 +1,6 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, cmake, perl, pkgconfig, zlib }:
1+{ stdenv, fetchFromGitHub, rustPlatform, cmake, perl, pkgconfig, zlib
2+, darwin, libiconv
3+}:
24
35with rustPlatform;
46
@@ -16,7 +18,10 @@ buildRustPackage rec {
1618 };
1719
1820 nativeBuildInputs = [ cmake pkgconfig perl ];
19− buildInputs = [ zlib ];
21+ buildInputs = [ zlib ]
22+ ++ stdenv.lib.optionals stdenv.isDarwin [
23+ libiconv darwin.apple_sdk.frameworks.Security ]
24+ ;
2025
2126 # Some tests fail, but Travis ensures a proper build
2227 doCheck = false;