Skip to content

Commit

Permalink
moreutils: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Jun 20, 2017
1 parent 8fe525b commit 065bb61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/tools/misc/moreutils/default.nix
@@ -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;
stdenv.mkDerivation rec {
Expand All @@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
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 ];

Expand Down

1 comment on commit 065bb61

@domenkozar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, I thought it was fixed with 14a320a

Please sign in to comment.