* 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:
1
pkgs/tools/compression/bzip2/builder.sh
Executable file → Normal file
1
pkgs/tools/compression/bzip2/builder.sh
Executable file → Normal file
@@ -1,4 +1,3 @@
|
||||
#! /bin/sh -e
|
||||
. $stdenv/setup
|
||||
installFlags="PREFIX=$out"
|
||||
genericBuild
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "bzip2-1.0.2";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://sources.redhat.com/pub/bzip2/v102/bzip2-1.0.2.tar.gz;
|
||||
md5 = "ee76864958d568677f03db8afad92beb";
|
||||
};
|
||||
inherit stdenv;
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#! /bin/sh -e
|
||||
. $stdenv/setup
|
||||
genericBuild
|
||||
@@ -1,12 +1,9 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "gzip-1.3.3";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.gzip.org/gzip-1.3.3.tar.gz;
|
||||
md5 = "52eaf713673507d21f7abefee98ba662";
|
||||
};
|
||||
inherit stdenv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user