forked from lix-project/lix
24 lines
338 B
Bash
Executable file
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
|
|
|