3
0
Fork 0
forked from mirrors/nixpkgs

* 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

View file

@ -208,14 +208,13 @@ rec {
makeTarball = tarName: input: pkgs.runCommand "tarball" {inherit tarName;} "
ensureDir $out
(cd ${input} && tar cvfj $out/${tarName} . \\
--exclude '*~' \\
--exclude 'pkgs' --exclude 'result')
--exclude '*~' --exclude 'result')
";
# Put the current directory in a tarball (making sure to filter
# 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:
let base = baseNameOf (toString name);