diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-04-08T12·00+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-04-08T12·00+0000 |
commit | 0d2b24cdd103f21861ad42fd6d98e5d1cb252646 (patch) | |
tree | 3956ec0b4b024acbf4c3a4f0ecc979fd9ccfa52c /test | |
parent | 814b256da43ebdad79fe9544a59f6ae680da7cb9 (diff) |
* `Fix' is a high-level descriptor instantiator for Nix. It replaces
nix-instantiate.
Diffstat (limited to 'test')
-rw-r--r-- | test/fixdescriptors/aterm-2.0.fix | 10 | ||||
-rwxr-xr-x | test/register | 19 |
2 files changed, 10 insertions, 19 deletions
diff --git a/test/fixdescriptors/aterm-2.0.fix b/test/fixdescriptors/aterm-2.0.fix new file mode 100644 index 000000000000..0362314d6c3e --- /dev/null +++ b/test/fixdescriptors/aterm-2.0.fix @@ -0,0 +1,10 @@ +Descr( + [ Bind("pkgId", Str("aterm-2.0")) + , Bind("releaseId", Str("1")) + + , Bind("createGCC", Bool(True)) + + , Bind("src", File(Url("http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz"))) + , Bind("build", File(Local("../build/aterm-build.sh"))) + ] +) \ No newline at end of file diff --git a/test/register b/test/register deleted file mode 100755 index 57fe5b6c0d01..000000000000 --- a/test/register +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/sh - -if test -z "$NIX"; then NIX=/nix; fi - -echo target $NIX - -if ! nix-instantiate $NIX/var/nix/descriptors $NIX/var/nix/sources tmpl/*.nix; then - exit 1; -fi - -rm -f build/*~ -cp -p build/* $NIX/var/nix/sources - -for i in $NIX/var/nix/sources/*; do nix regfile $i; done - -for i in $NIX/var/nix/descriptors/*; do - md5sum $i - nix regfile $i -done |