Skip to content

Commit a54f6c3

Browse files
committedJun 20, 2017
moreutils: fix darwin build
1 parent 14a320a commit a54f6c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

Diff for: ‎pkgs/tools/misc/moreutils/default.nix

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perl, IPCRun, TimeDate, TimeDuration, makeWrapper }:
1+
{ stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perl, IPCRun, TimeDate, TimeDuration, makeWrapper, darwin }:
22

33
with stdenv.lib;
44
stdenv.mkDerivation rec {
@@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
1515
substituteInPlace Makefile --replace /usr/share/xml/docbook/stylesheet/docbook-xsl ${docbook-xsl}/xml/xsl/docbook
1616
'';
1717

18-
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 makeWrapper ];
18+
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 makeWrapper ]
19+
++ optional stdenv.isDarwin darwin.cctools;
1920

2021
propagatedBuildInputs = [ perl IPCRun TimeDate TimeDuration ];
2122

0 commit comments

Comments
 (0)
Please sign in to comment.