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.
 
 
 
 
 
 
nomicon/register

19 lines
337 B

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