My personal project and infrastructure archive
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#! /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
|
|
|
|
|