nixpkgs/register
Eelco Dolstra 7c89415774 * Descriptor templates for the Pan newsreader and all its
dependencies.

svn path=/nix/trunk/test/; revision=9
2003-03-20 22:25:01 +00:00

19 lines
254 B
Bash
Executable file

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