mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
mtools: Fix build on darwin by providing libiconv to buildInputs
This commit is contained in:
parent
30d3d79b7d
commit
24dbe601c9
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl, libiconv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mtools";
|
pname = "mtools";
|
||||||
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
# fails to find X on darwin
|
# fails to find X on darwin
|
||||||
configureFlags = lib.optional stdenv.isDarwin "--without-x";
|
configureFlags = lib.optional stdenv.isDarwin "--without-x";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user