* 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:
Eelco Dolstra
2004-03-29 17:23:01 +00:00
parent bc71554fc8
commit 12ae5363ea
297 changed files with 259 additions and 807 deletions
-2
View File
@@ -1,5 +1,3 @@
#! /bin/sh
buildinputs="$pkgconfig $gtk $perl $zip $libIDL"
. $stdenv/setup || exit 1
@@ -6,9 +6,8 @@ assert pkgconfig != null && gtk != null && perl != null
assert libIDL.glib == gtk.glib;
derivation {
stdenv.mkDerivation {
name = "firefox-0.8";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
@@ -16,7 +15,6 @@ derivation {
md5 = "cdc85152f4219bf3e3f1a8dc46e04654";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
perl = perl;
-2
View File
@@ -1,5 +1,3 @@
#! /bin/sh -e
buildInputs="$gtk $gdkpixbuf $openssl"
. $stdenv/setup
@@ -7,9 +7,8 @@ assert gtk != null;
assert sslSupport -> openssl != null;
assert imageSupport -> gdkpixbuf != null;
derivation {
stdenv.mkDerivation {
name = "sylpheed-0.9.10";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
@@ -19,7 +18,7 @@ derivation {
inherit sslSupport imageSupport;
inherit stdenv gtk;
inherit gtk;
openssl = if sslSupport then openssl else null;
gdkpixbuf = if imageSupport then gdkpixbuf else null;
}
@@ -1,5 +0,0 @@
#! /bin/sh -e
buildInputs="$pkgconfig $gtk $gtkspell $gnet $libxml2 $perl $pcre"
. $stdenv/setup
genericBuild
@@ -8,9 +8,8 @@ assert pkgconfig != null && gtk != null && gnet != null
assert spellChecking -> gtkspell != null && gtk == gtkspell.gtk;
assert gtk.glib == gnet.glib;
derivation {
stdenv.mkDerivation {
name = "pan-0.14.2.91";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
@@ -18,6 +17,10 @@ derivation {
md5 = "4770d899a1c1ba968ce96bc5aeb07b62";
};
gtkspell = if spellChecking then gtkspell else null;
inherit spellChecking stdenv pkgconfig gtk gnet libxml2 perl pcre;
buildInputs = [
pkgconfig gtk gnet libxml2 perl pcre
(if spellChecking then gtkspell else null)
];
inherit spellChecking stdenv;
}