lix/test/register

24 lines
338 B
Plaintext
Raw Normal View History

#! /bin/sh
root=/home/eelco/Dev/nix/test
2003-03-21 14:10:06 +00:00
cd $root
2003-03-21 14:10:06 +00:00
mkdir -p db
mkdir -p pkg
mkdir -p descr
mkdir -p netcache
nix init
2003-03-21 14:10:06 +00:00
if ! nix-instantiate descr netcache tmpl/*.nix; then
exit 1;
fi
2003-03-21 14:10:06 +00:00
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