diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-04-02 15:34:05 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-04-02 15:34:05 +0000 |
commit | 5bc26fb73fe997b05c2e43593d17de102c4249b7 (patch) | |
tree | 3de827312edb1fbcf394abe1f067b07717bf3215 /test | |
parent | 383f9bb0f19f76fa4cdbdfb5327d82e77212c1b6 (diff) |
* Importing and exporting of pre-built packages.
Diffstat (limited to 'test')
-rwxr-xr-x | test/build/aterm-build.sh | 2 | ||||
-rwxr-xr-x | test/register | 18 |
2 files changed, 9 insertions, 11 deletions
diff --git a/test/build/aterm-build.sh b/test/build/aterm-build.sh index cfc83806b..f8cca71aa 100755 --- a/test/build/aterm-build.sh +++ b/test/build/aterm-build.sh @@ -8,3 +8,5 @@ cd aterm-* ./configure --prefix=$top make make install +cd .. +rm -rf aterm-* diff --git a/test/register b/test/register index 60cabd292..e03296495 100755 --- a/test/register +++ b/test/register @@ -1,23 +1,19 @@ #! /bin/sh -root=/home/eelco/Dev/nix/test -cd $root - -mkdir -p db -mkdir -p pkg -mkdir -p descr -mkdir -p netcache +mkdir -p $NIX/db +mkdir -p $NIX/pkg +mkdir -p $NIX/descr +mkdir -p $NIX/netcache nix init -if ! nix-instantiate descr netcache tmpl/*.nix; then +if ! nix-instantiate $NIX/descr $NIX/netcache tmpl/*.nix; then exit 1; fi -for i in netcache/*; do nix regfile $i; done +for i in $NIX/netcache/*; do nix regfile $i; done for i in build/*; do nix regfile $i; done -for i in descr/*; do +for i in $NIX/descr/*; do md5sum $i nix regfile $i done - |