* Importing and exporting of pre-built packages.

svn path=/nix/trunk/test/; revision=28
This commit is contained in:
Eelco Dolstra 2003-04-02 15:34:05 +00:00
parent cd1ac5c1af
commit c72ad03d95
2 changed files with 9 additions and 11 deletions

View File

@ -8,3 +8,5 @@ cd aterm-*
./configure --prefix=$top
make
make install
cd ..
rm -rf aterm-*

View File

@ -1,23 +1,19 @@
#! /bin/sh
root=/home/eelco/Dev/nix/test
cd $root
mkdir -p db
mkdir -p pkg
mkdir -p descr
mkdir -p netcache
mkdir -p $NIX/db
mkdir -p $NIX/pkg
mkdir -p $NIX/descr
mkdir -p $NIX/netcache
nix init
if ! nix-instantiate descr netcache tmpl/*.nix; then
if ! nix-instantiate $NIX/descr $NIX/netcache tmpl/*.nix; then
exit 1;
fi
for i in netcache/*; do nix regfile $i; done
for i in $NIX/netcache/*; do nix regfile $i; done
for i in build/*; do nix regfile $i; done
for i in descr/*; do
for i in $NIX/descr/*; do
md5sum $i
nix regfile $i
done