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 nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00
installation-cd-graphical-gnome.nix installer: add graphical GNOME iso 2016-02-29 15:51:38 +01:00
installation-cd-graphical-kde-new-kernel.nix installer: add graphical GNOME iso 2016-02-29 15:51:38 +01:00
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 nixos-iso: Re-enable new kernel iso images (close #2839) 2014-06-17 21:23:52 +02:00
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 treewide: Use correct output in ${config.nix.package}/bin 2016-04-25 16:44:37 +02:00
system-tarball-fuloong2f.nix treewide: sshfsFuse -> sshfs-fuse 2016-09-18 17:44:30 +02:00
system-tarball-pc-readme.txt http://nixos.org -> https://nixos.org 2014-12-14 11:26:45 +01:00
system-tarball-pc.nix jobs -> systemd.services 2016-01-17 22:05:13 +00:00
system-tarball-sheevaplug.nix treewide: sshfsFuse -> sshfs-fuse 2016-09-18 17:44:30 +02:00
system-tarball.nix treewide: Use correct output in ${config.nix.package}/bin 2016-04-25 16:44:37 +02:00