1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

Merge pull request #113887 from xaverdh/install-grub-editorconfig-fixup

This commit is contained in:
Sandro 2021-11-29 21:03:41 +01:00 committed by GitHub
commit 61c3243dc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ struct(Fs => {
device => '$',
type => '$',
mount => '$',
});
});
sub PathInMount {
my ($path, $mount) = @_;
my @splitMount = split /\//, $mount;
@ -157,7 +157,7 @@ sub GetFs {
struct (Grub => {
path => '$',
search => '$',
});
});
my $driveid = 1;
sub GrubFs {
my ($dir) = @_;
@ -659,7 +659,7 @@ struct(GrubState => {
devices => '$',
efiMountPoint => '$',
extraGrubInstallArgs => '@',
});
});
# If you add something to the state file, only add it to the end
# because it is read line-by-line.
sub readGrubState {