* 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 -e
|
||||
|
||||
. $stdenv/setup
|
||||
|
||||
|
||||
|
||||
@@ -4,13 +4,12 @@
|
||||
|
||||
assert langC;
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "gcc-3.3.3";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-3.3.3/gcc-3.3.3.tar.bz2;
|
||||
md5 = "3c6cfd9fcd180481063b4058cf6faff2";
|
||||
};
|
||||
inherit stdenv noSysDirs langC langCC langF77;
|
||||
inherit noSysDirs langC langCC langF77;
|
||||
}
|
||||
|
||||
Executable → Regular
-2
@@ -1,5 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
buildinputs="$perl $ghc $m4"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
|
||||
assert perl != null && ghc != null && m4 != null;
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "ghc-6.2";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.haskell.org/ghc/dist/6.2/ghc-6.2-src.tar.bz2;
|
||||
md5 = "cc495e263f4384e1d6b38e851bf6eca0";
|
||||
};
|
||||
inherit stdenv perl ghc m4;
|
||||
inherit perl ghc m4;
|
||||
}
|
||||
|
||||
Executable → Regular
-2
@@ -1,5 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
buildinputs="$ghc"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
|
||||
assert ghc != null;
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "helium-1.2";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.cs.uu.nl/helium/distr/helium-1.2-src.tar.gz;
|
||||
md5 = "6ea1d6e4436e137d75f5354b4758f299";
|
||||
};
|
||||
inherit stdenv ghc;
|
||||
inherit ghc;
|
||||
}
|
||||
|
||||
Executable → Regular
-1
@@ -1,4 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
version=j2sdk1.4.2_03
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
if stdenv.system == "i686-linux"
|
||||
then
|
||||
(import ./j2sdk-sun-linux.nix) {
|
||||
stdenv = stdenv;
|
||||
fetchurl = fetchurl;
|
||||
}
|
||||
else
|
||||
|
||||
Executable → Regular
-2
@@ -1,5 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
{stdenv, fetchurl}: derivation {
|
||||
{stdenv, fetchurl}: stdenv.mkDerivation {
|
||||
name = "jikes-1.18";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://www-126.ibm.com/pub/jikes/1.18/jikes-1.18.tar.bz2;
|
||||
md5 = "74bbcfd31aa2d7df4b86c5fe2db315cc";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
}
|
||||
|
||||
Executable → Regular
-2
@@ -1,5 +1,3 @@
|
||||
#! /bin/sh -e
|
||||
|
||||
buildInputs="$aterm $sdf"
|
||||
. $stdenv/setup
|
||||
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
{stdenv, fetchurl, aterm, sdf}:
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "strategoxt-0.9.4";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.4.tar.gz;
|
||||
md5 = "b61aee784cebac6cce0d96383bdb1b37";
|
||||
};
|
||||
inherit stdenv aterm sdf;
|
||||
inherit aterm sdf;
|
||||
}
|
||||
|
||||
Executable → Regular
-2
@@ -1,5 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
buildinputs="$aterm $sdf $strategoxt"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
{stdenv, fetchurl, aterm, sdf, strategoxt}: derivation {
|
||||
{stdenv, fetchurl, aterm, sdf, strategoxt}: stdenv.mkDerivation {
|
||||
name = "tiger-1.3-4631";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://losser.st-lab.cs.uu.nl/~mbravenb/dailydist/tiger/src/tiger-1.3-4631.tar.gz;
|
||||
md5 = "1ea6070d84134eb6cff7fb32a75ef90a";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
aterm = aterm;
|
||||
sdf = sdf;
|
||||
strategoxt = strategoxt;
|
||||
|
||||
Reference in New Issue
Block a user