fix LLVM packages to work in darwin stdenv

This commit is contained in:
Jude Taylor
2015-10-05 08:46:56 -07:00
parent 4e8da0747c
commit 0a32eab91e
12 changed files with 68 additions and 74 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, AlgorithmDiff, RegexpCommon }:
{ stdenv, fetchurl, fetchpatch, perl, AlgorithmDiff, RegexpCommon }:
stdenv.mkDerivation rec {
@@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "1w3mz69h2i7pscvi9q7yp7wimds8g38c5ph78cj5pvjl5wa035rh";
};
patches = [ (fetchpatch {
name = "perl-5.22.patch";
url = "https://bugs.archlinux.org/task/45494?getfile=13174";
sha256 = "1xxwqjy2q2fdza7kfp9ld0yzljkdsrgm8a9pwnmx5q4adigcjjsz";
}) ];
buildInputs = [ perl AlgorithmDiff RegexpCommon ];
makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ];