* More prototyping.
svn path=/nixpkgs/trunk/; revision=449
This commit is contained in:
parent
33f773c97a
commit
668eaa8960
4
pkgs-ng/fetchurl/builder.sh
Executable file
4
pkgs-ng/fetchurl/builder.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
echo FOO
|
||||||
|
exit 1
|
8
pkgs-ng/fetchurl/default.fix
Normal file
8
pkgs-ng/fetchurl/default.fix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{stdenv}: {url, md5}: derivation
|
||||||
|
{ name = "fetchurl"
|
||||||
|
, system = stdenv.system
|
||||||
|
, builder = ./builder.sh
|
||||||
|
, stdenv = stdenv
|
||||||
|
, url = url
|
||||||
|
, md5 = md5
|
||||||
|
}
|
4
pkgs-ng/stdenv/builder.sh
Executable file
4
pkgs-ng/stdenv/builder.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
echo BAR
|
||||||
|
exit 1
|
5
pkgs-ng/stdenv/default.fix
Normal file
5
pkgs-ng/stdenv/default.fix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{system}: derivation
|
||||||
|
{ name = "stdenv"
|
||||||
|
, system = system
|
||||||
|
, builder = ./builder.sh
|
||||||
|
}
|
@ -4,12 +4,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
, fetchurl = (import ../fetchurl)
|
, fetchurl = (import ../fetchurl)
|
||||||
{ system = system
|
{ stdenv = stdenv
|
||||||
}
|
}
|
||||||
|
|
||||||
, aterm = (import ../aterm)
|
, aterm = (import ../aterm)
|
||||||
{ system = system
|
{ fetchurl = fetchurl
|
||||||
, fetchurl = fetchurl
|
|
||||||
, stdenv = stdenv
|
, stdenv = stdenv
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user