1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

nixos: Explain system.build.installBootLoader's odd default

I don't really approve of this solution, but documenting its
purpose was the least I could do for now.
This commit is contained in:
Robert Hensing 2022-01-24 15:09:17 +01:00
parent 511e89f5a6
commit 4800f30841

View file

@ -227,6 +227,9 @@ in
system.build = tmpFixupSubmoduleBoundary {
installBootLoader = mkOption {
internal = true;
# "; true" => make the `$out` argument from switch-to-configuration.pl
# go to `true` instead of `echo`, hiding the useless path
# from the log.
default = "echo 'Warning: do not know how to make this configuration bootable; please enable a boot loader.' 1>&2; true";
description = ''
A program that writes a bootloader installation script to the path passed in the first command line argument.