nixpkgs/nixos/modules/system
Tuomas Tynkkynen 8665b0d8b1 extlinux-conf-builder: Fix warning when building in chroot
When using extlinux-conf-builder in a nix build using chroots, the
following error message could be seen:

/nix/store/XXX-extlinux-conf-builder.sh: line 121: cd: /nix/var/nix/profiles: No such file or directory

To avoid this, just skip the code path parsing /nix/var/nix/profiles
when $numGenerations (passed from the command line) is 0 (which is the
only legal value of $numGenerations in a nix build context).
2015-07-26 00:31:20 +03:00
..
activation systemd: Use upstream tmpfiles.d rules 2015-07-22 12:27:05 +02:00
boot extlinux-conf-builder: Fix warning when building in chroot 2015-07-26 00:31:20 +03:00
etc Set ‘allowSubstitutes = false’ on various derivations 2015-07-09 15:10:37 +02:00
upstart upstart: Oneshot rules should always have Restart=no 2014-04-16 01:04:52 +02:00