nixpkgs/register
Eelco Dolstra af4ef1ce4b * Fetch sources from the network.
svn path=/nix/trunk/test/; revision=11
2003-03-21 14:10:06 +00:00

24 lines
338 B
Bash
Executable file

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