diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-03-21T14·10+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-03-21T14·10+0000 |
commit | e582ee67cd682c13667daccf33e8071189ef946c (patch) | |
tree | dda9e5e2843aef37a345157e4f4afcf1cf155d08 /test/register | |
parent | 88d257b17f0f668798568d68e2d2063f31fe8a2f (diff) |
* Fetch sources from the network.
Diffstat (limited to 'test/register')
-rwxr-xr-x | test/register | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/test/register b/test/register index a50dd051a83f..60cabd292365 100755 --- a/test/register +++ b/test/register @@ -1,17 +1,22 @@ #! /bin/sh -nix init - root=/home/eelco/Dev/nix/test +cd $root -cd $root/tmpl +mkdir -p db +mkdir -p pkg +mkdir -p descr +mkdir -p netcache + +nix init -if ! nix-instantiate $root/descr $root/tmpl/*.nix; then +if ! nix-instantiate descr netcache tmpl/*.nix; then exit 1; fi -for i in $root/dist/*; do nix regfile $i; done -for i in $root/descr/*; do +for i in netcache/*; do nix regfile $i; done +for i in build/*; do nix regfile $i; done +for i in descr/*; do md5sum $i nix regfile $i done |