mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
Making grub display 'All configurations', not 'Old'
That confused some people, as the first generation shown is the 'current'.
This commit is contained in:
parent
7d2ec75ae7
commit
3be4fd3f38
|
@ -194,7 +194,7 @@ $conf .= "$extraEntries\n" unless $extraEntriesBeforeNixOS;
|
|||
$conf =~ s/\@bootRoot\@/$bootRoot/g;
|
||||
|
||||
# Add entries for all previous generations of the system profile.
|
||||
$conf .= "submenu \"NixOS - Old configurations\" {\n" if $grubVersion == 2;
|
||||
$conf .= "submenu \"NixOS - All configurations\" {\n" if $grubVersion == 2;
|
||||
|
||||
sub nrFromGen { my ($x) = @_; $x =~ /system-(.*)-link/; return $1; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue