moreutils: fix build on darwin

This commit is contained in:
Domen Kožar 2017-06-20 16:42:40 +02:00
parent 613dd68ab6
commit 14a320ace8
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ perl IPCRun TimeDate TimeDuration ];
buildFlags = optionalString stdenv.isDarwin "CC=clang";
installFlags = "PREFIX=$(out)";
postInstall = "wrapProgram $out/bin/chronic --prefix PERL5LIB : $PERL5LIB";