apart from nixpkgs also copy the NixU scripts

svn path=/nixu/trunk/; revision=3298
This commit is contained in:
Armijn Hemel 2005-07-06 14:42:41 +00:00
parent b31d4e8079
commit 1054efb792
2 changed files with 7 additions and 3 deletions

View file

@ -2,7 +2,9 @@
archivesDir=/tmp/arch
manifest=${archivesDir}/MANIFEST
nixpkgs=/nixpkgs/trunk/pkgs
nixpkgs=/nixpkgs2/trunk/pkgs
rm -rf ${archivesDir}/*
NIX_CMD_PATH=/nix/bin
@ -16,4 +18,6 @@ $NIX_CMD_PATH/nix-push --copy $archivesDir $manifest $(nix-store -r $storeExpr)
# Location of Nix boot scripts?
#bootPath=$($NIX_CMD_PATH/nix-store -q $(echo '(import ./pkgs.nix).boot' | $NIX_CMD_PATH/nix-instantiate -))
cp -a ${nixpkgs} ${archivesDir}
cp -fa ${nixpkgs} ${archivesDir}
mkdir ${archivesDir}/scripts
cp -fa * ${archivesDir}/scripts

View file

@ -1,5 +1,5 @@
rec {
inherit (import /nixpkgs/trunk/pkgs/system/i686-linux.nix)
inherit (import /nixpkgs2/trunk/pkgs/system/i686-linux.nix)
stdenv kernel bash coreutils findutils utillinux sysvinit e2fsprogs
nettools nix subversion gcc wget which vim less screen openssh binutils
strace shadowutils iputils gnumake curl gnused gnutar gnugrep gzip mingetty;