nixpkgs/nixos/modules
Tuomas Tynkkynen 60788745c9 channel.nix: Use filterSource to exclude unnecessary files from nixpkgs
Currently, if you try to build a NixOS config including channel.nix, e.g.:

nix-build -I nixpkgs=. -I nixos-config=nixos/modules/installer/cd-dvd/installation-cd-minimal.nix nixos -A config.system.build.isoImage

twice in a row, you end up with two different build results. This is
caused by the 'result' symlink of the first build affecting the channel
contents of the second build.

If we use filterSource with a predicate that ignores the 'result'
symlinks, the problem is gone. Do the same thing for VIM/Emacs
swap/backup files to avoid even more 'spurious' rebuilds.

Additionally, filter out the '.git' directory at the same time, as we
'rm -rf' it from the result anyway. This avoids a considerable amount of
unnecessary file I/O copying and deleting the .git directory.
2017-03-25 01:42:28 +02:00
..
config Merge branch 'master' into staging 2017-03-23 13:31:28 +01:00
hardware Merge pull request #17303 from peterhoeg/iio 2017-03-14 11:16:09 +08:00
i18n/input-method Remove top-level kde5 attribute 2017-02-27 11:49:10 -06:00
installer channel.nix: Use filterSource to exclude unnecessary files from nixpkgs 2017-03-25 01:42:28 +02:00
misc fcron: 3.1.2 -> 3.2.1 2017-03-05 22:41:11 +01:00
profiles nixos: fix renaming warning in graphical profile 2017-03-03 07:27:41 -06:00
programs nixos/treewide: systemd.time is in manvolume 7 2017-03-21 08:28:53 +01:00
security security-wrapper: link old wrapper dir to new one 2017-03-23 15:57:30 +01:00
services Merge branch 'staging' 2017-03-24 21:07:55 +01:00
system grub module: fix useOSProber when installing grub as EFI 2017-03-23 12:53:44 +01:00
tasks nixos/treewide: systemd.time is in manvolume 7 2017-03-21 08:28:53 +01:00
testing kdm: drop service 2017-02-11 13:55:09 -05:00
virtualisation google-compute-image: copy store paths with rsync 2017-03-24 02:14:10 +01:00
module-list.nix Merge pull request #23819 from ttuegel/freetype 2017-03-20 11:43:50 -05:00
rename.nix Merge branch 'master' into staging 2017-03-23 13:31:28 +01:00