* 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,4 +0,0 @@
|
||||
#! /bin/sh -e
|
||||
. $stdenv/setup
|
||||
configureFlags="--without-ssl"
|
||||
genericBuild
|
||||
@@ -1,13 +1,12 @@
|
||||
{stdenv, fetchurl, zlib}:
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "curl-7.11.1";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://curl.haxx.se/download/curl-7.11.1.tar.bz2;
|
||||
md5 = "c2af7c3364a1a8839516f74961b6bd11";
|
||||
};
|
||||
buildInputs = [zlib];
|
||||
inherit stdenv;
|
||||
configureFlags = "--without-ssl";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user