Merge #8363: pure-darwin stdenv
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
args : with args;
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz;
|
||||
sha256 = "134k4s5f116k23vb7wf9bynlx3gf0wwl7y0zp9ciz0q66nh1idkh";
|
||||
};
|
||||
|
||||
buildInputs = [python makeWrapper];
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["installPythonPackage" (makeManyWrappers ''$out/bin/*'' ''--prefix PYTHONPATH : $(toPythonPath $out)'')];
|
||||
|
||||
name = "cheetah-template-2.0.1";
|
||||
meta = {
|
||||
description = "Templating engine";
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchurl, libsigsegv, readline, readlineSupport ? false }:
|
||||
{ stdenv, fetchurl, libsigsegv, readline, readlineSupport ? false
|
||||
, locale ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gawk-4.1.3";
|
||||
@@ -8,10 +9,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "09d6pmx6h3i2glafm0jd1v1iyrs03vcyv2rkz12jisii3vlmbkz3";
|
||||
};
|
||||
|
||||
doCheck = !stdenv.isCygwin; # XXX: `test-dup2' segfaults on Cygwin 6.1
|
||||
doCheck = !(
|
||||
stdenv.isCygwin # XXX: `test-dup2' segfaults on Cygwin 6.1
|
||||
|| stdenv.isDarwin # XXX: `locale' segfaults
|
||||
);
|
||||
|
||||
buildInputs = stdenv.lib.optional (stdenv.system != "x86_64-cygwin") libsigsegv
|
||||
++ stdenv.lib.optional readlineSupport readline;
|
||||
++ stdenv.lib.optional readlineSupport readline
|
||||
++ stdenv.lib.optional stdenv.isDarwin locale;
|
||||
|
||||
configureFlags = stdenv.lib.optional (stdenv.system != "x86_64-cygwin") "--with-libsigsegv-prefix=${libsigsegv}"
|
||||
++ stdenv.lib.optional readlineSupport "--with-readline=${readline}"
|
||||
|
||||
Reference in New Issue
Block a user