about summary refs log tree commit diff
path: root/test/register
blob: 60cabd2923651b27d80f064ce75faef2c9ebc646 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /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