* Doh! Include the pkgs subdirectory of nixpkgs on the CD.

svn path=/nixos/trunk/; revision=12198
This commit is contained in:
Eelco Dolstra 2008-06-27 12:28:43 +00:00
parent 90acbf9509
commit 27b329abe2

@ -208,14 +208,13 @@ rec {
makeTarball = tarName: input: pkgs.runCommand "tarball" {inherit tarName;} " makeTarball = tarName: input: pkgs.runCommand "tarball" {inherit tarName;} "
ensureDir $out ensureDir $out
(cd ${input} && tar cvfj $out/${tarName} . \\ (cd ${input} && tar cvfj $out/${tarName} . \\
--exclude '*~' \\ --exclude '*~' --exclude 'result')
--exclude 'pkgs' --exclude 'result')
"; ";
# Put the current directory in a tarball (making sure to filter # Put the current directory in a tarball (making sure to filter
# out crap like the .svn directories). # out crap like the .svn directories).
nixosTarball =makeTarball "nixos.tar.bz2" (builtins.filterSource svnFilter ./..); nixosTarball = makeTarball "nixos.tar.bz2" (builtins.filterSource svnFilter ./..);
svnFilter = name: type: svnFilter = name: type:
let base = baseNameOf (toString name); let base = baseNameOf (toString name);