mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
* Importing and exporting of pre-built packages.
svn path=/nix/trunk/test/; revision=28
This commit is contained in:
parent
cd1ac5c1af
commit
c72ad03d95
@ -8,3 +8,5 @@ cd aterm-*
|
||||
./configure --prefix=$top
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
rm -rf aterm-*
|
||||
|
18
register
18
register
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user