git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #36179 from vbgl/exa-darwin

exa: fix build on darwin

commitd482caf1bf33ccb394feb2e360646f3c065edd47 authorJörg Thalheim <Mic92@users.noreply.github.com> dateThu 1 Mar 2018, 17:39 (9 years ago) parent8d3aa2f1aae247
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;