* 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:
2
pkgs/development/libraries/scrollkeeper/builder.sh
Executable file → Normal file
2
pkgs/development/libraries/scrollkeeper/builder.sh
Executable file → Normal file
@@ -1,5 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
buildinputs="$perl $libxml2 $libxslt"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
|
||||
@@ -6,15 +6,13 @@ assert perl != null && libxml2 != null && libxslt != null
|
||||
|
||||
# !!! seems to need iconv, but cannot find it since $glibc/bin is not in PATH
|
||||
|
||||
derivation {
|
||||
stdenv.mkDerivation {
|
||||
name = "scrollkeeper-0.3.14";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/scrollkeeper/scrollkeeper-0.3.14.tar.gz;
|
||||
md5 = "161eb3f29e30e7b24f84eb93ac696155";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
perl = perl;
|
||||
libxml2 = libxml2;
|
||||
libxslt = libxslt;
|
||||
|
||||
Reference in New Issue
Block a user