nixpkgs/nixos/modules/installer
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
..
cd-dvd channel.nix: Use filterSource to exclude unnecessary files from nixpkgs 2017-03-25 01:42:28 +02:00
netboot nixos installer: don't log refused packets to console 2017-01-09 19:24:41 +01:00
scan fix comments about nixos-hardware-scan 2017-02-18 13:29:47 +01:00
tools nix: 1.11.7 -> 1.11.8 2017-03-21 14:49:23 +01:00
virtualbox-demo.nix virtualbox-demo: Add modesetting to drivers 2016-11-07 14:36:41 -06:00