about summary refs log tree commit diff
path: root/test/register
blob: a50dd051a83f7fe1722fde288e5ef496c9517251 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

nix init

root=/home/eelco/Dev/nix/test

cd $root/tmpl

if ! nix-instantiate $root/descr $root/tmpl/*.nix; then
    exit 1;
fi

for i in $root/dist/*; do nix regfile $i; done
for i in $root/descr/*; do 
    md5sum $i
    nix regfile $i
done