Merge pull request #168791 from roblabla/fix-mtools-darwin
mtools: Fix build on darwin by providing libiconv to buildInputs
This commit is contained in:
commit
0074718c56
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mtools";
|
||||
|
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
|||
# fails to find X on darwin
|
||||
configureFlags = lib.optional stdenv.isDarwin "--without-x";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue