lix/test/register

20 lines
337 B
Plaintext
Raw Normal View History

#! /bin/sh
mkdir -p $NIX/db
mkdir -p $NIX/pkg
mkdir -p $NIX/descr
mkdir -p $NIX/netcache
2003-03-21 14:10:06 +00:00
nix init
if ! nix-instantiate $NIX/descr $NIX/netcache tmpl/*.nix; then
exit 1;
fi
for i in $NIX/netcache/*; do nix regfile $i; done
2003-03-21 14:10:06 +00:00
for i in build/*; do nix regfile $i; done
for i in $NIX/descr/*; do
md5sum $i
nix regfile $i
done