* Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
This commit is contained in:
Executable → Regular
-2
@@ -1,5 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
{stdenv, fetchurl, j2sdk}: derivation {
|
||||
{stdenv, fetchurl, j2sdk}: stdenv.mkDerivation {
|
||||
name = "apache-ant-1.6.0";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://dist.apache.easynet.nl/ant/binaries/apache-ant-1.6.0-bin.tar.bz2;
|
||||
md5 = "01989c306da53862c101d9ea4ebb1f00";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#! /bin/sh -e
|
||||
. $stdenv/setup
|
||||
genericBuild
|
||||
@@ -1,14 +1,11 @@
|
||||
{stdenv, fetchurl, patch}:
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "gnumake-3.80";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/gnu/make/make-3.80.tar.bz2;
|
||||
md5 = "0bbd1df101bc0294d440471e50feca71";
|
||||
};
|
||||
patches = [./log.diff];
|
||||
buildInputs = [patch];
|
||||
inherit stdenv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user