about summary refs log blame commit diff
path: root/test/register
blob: 60cabd2923651b27d80f064ce75faef2c9ebc646 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

          
                             
        
 





                 
 
                                                    


           


                                            



                  
#! /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