* Fix filterSource calls.

svn path=/nixos/trunk/; revision=7669
This commit is contained in:
Eelco Dolstra 2007-01-15 09:20:34 +00:00
parent d62029bc68
commit ee55c0048b
2 changed files with 8 additions and 3 deletions

View File

@ -87,8 +87,12 @@ rec {
# Put the current directory in a tarball (making sure to filter
# out crap like the .svn directories).
nixosTarball = makeTarball "nixos.tar.bz2" (builtins.filterSource
(name: let base = baseNameOf (toString name); in base != ".svn" && base != "result") ./..);
nixosTarball =
let filter = name: type:
let base = baseNameOf (toString name);
in base != ".svn" && base != "result";
in
makeTarball "nixos.tar.bz2" (builtins.filterSource filter ./..);
# Get a recent copy of Nixpkgs.

View File

@ -23,7 +23,8 @@ import ../upstart-jobs/gather.nix {
# The udev daemon creates devices nodes and runs programs when
# hardware events occur.
(import ../upstart-jobs/udev.nix {
inherit (pkgs) writeText cleanSource udev procps;
inherit (pkgs) writeText udev procps;
inherit (pkgs.lib) cleanSource;
})
# Makes LVM logical volumes available.