nixpkgs/nixos/modules/installer/cd-dvd
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
..
channel.nix channel.nix: Use filterSource to exclude unnecessary files from nixpkgs 2017-03-25 01:42:28 +02:00
installation-cd-base.nix
installation-cd-graphical-gnome.nix
installation-cd-graphical-kde-new-kernel.nix
installation-cd-graphical-kde.nix iso_graphical: fix warning about Plasma 5 desktop module name 2017-03-02 07:01:34 -06:00
installation-cd-minimal-new-kernel.nix
installation-cd-minimal.nix install-devices: add vim 2017-01-18 17:57:31 +01:00
iso-image.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
sd-image-aarch64.nix sd-image-*: Copy all RPi firmware files 2017-02-11 12:23:16 +02:00
sd-image-armv7l-multiplatform.nix sd-image-armv7l-multiplatform module: enable ODROID-XU3 console 2017-03-20 11:07:04 +03:00
sd-image-raspberrypi.nix sd-image-*: Copy all RPi firmware files 2017-02-11 12:23:16 +02:00
sd-image.nix
system-tarball-fuloong2f.nix treewide: sshfsFuse -> sshfs-fuse 2016-09-18 17:44:30 +02:00
system-tarball-pc-readme.txt
system-tarball-pc.nix
system-tarball-sheevaplug.nix treewide: sshfsFuse -> sshfs-fuse 2016-09-18 17:44:30 +02:00
system-tarball.nix