mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +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
|
# 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
|
nixosTarball =
|
||||||
(name: let base = baseNameOf (toString name); in base != ".svn" && base != "result") ./..);
|
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.
|
# 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
|
# The udev daemon creates devices nodes and runs programs when
|
||||||
# hardware events occur.
|
# hardware events occur.
|
||||||
(import ../upstart-jobs/udev.nix {
|
(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.
|
# Makes LVM logical volumes available.
|
||||||
|
|
Loading…
Reference in a new issue