mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
* Fix filterSource calls.
svn path=/nixos/trunk/; revision=7669
This commit is contained in:
parent
d62029bc68
commit
ee55c0048b
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue