* 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
pkgs/data/sgml+xml/schemas/xml-dtd/docbook/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
mkdir -p $out/xml/dtd/docbook || exit 1

View File

@@ -2,14 +2,12 @@
assert unzip != null;
derivation {
stdenv.mkDerivation {
name = "docbook-xml-4.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip;
md5 = "73fe50dfe74ca631c1602f558ed8961f";
};
stdenv = stdenv;
unzip = unzip;
}

2
pkgs/data/sgml+xml/stylesheets/xslt/docbook/builder.sh Executable file → Normal file
View File

@@ -1,5 +1,3 @@
#! /bin/sh
. $stdenv/setup || exit 1
mkdir $out || exit 1

View File

@@ -1,12 +1,10 @@
{stdenv, fetchurl}:
derivation {
stdenv.mkDerivation {
name = "docbook-xsl-1.64.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://cesnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.64.1.tar.gz;
md5 = "ed766902e8381f6206d12f5c326fbd47";
};
stdenv = stdenv;
}