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:
parent
90acbf9509
commit
27b329abe2
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue