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

          



                      

        
 
                                                              


           
                                                 
                                         
                          


                  
#! /bin/sh

mkdir -p $NIX/db
mkdir -p $NIX/pkg
mkdir -p $NIX/descr
mkdir -p $NIX/netcache

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
for i in build/*; do nix regfile $i; done
for i in $NIX/descr/*; do 
    md5sum $i
    nix regfile $i
done