moreutils: fix darwin build
This commit is contained in:
parent
8fe525b6c7
commit
065bb61330
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perl, IPCRun, TimeDate, TimeDuration, makeWrapper }:
|
{ stdenv, fetchgit, libxml2, libxslt, docbook-xsl, docbook_xml_dtd_44, perl, IPCRun, TimeDate, TimeDuration, makeWrapper, darwin }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace Makefile --replace /usr/share/xml/docbook/stylesheet/docbook-xsl ${docbook-xsl}/xml/xsl/docbook
|
substituteInPlace Makefile --replace /usr/share/xml/docbook/stylesheet/docbook-xsl ${docbook-xsl}/xml/xsl/docbook
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 makeWrapper ];
|
buildInputs = [ libxml2 libxslt docbook-xsl docbook_xml_dtd_44 makeWrapper ]
|
||||||
|
++ optional stdenv.isDarwin darwin.cctools;
|
||||||
|
|
||||||
propagatedBuildInputs = [ perl IPCRun TimeDate TimeDuration ];
|
propagatedBuildInputs = [ perl IPCRun TimeDate TimeDuration ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user