-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grub: add grub.useOsprober option #22558
Conversation
@symphorien, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @wkennington and @obadz to be potential reviewers. |
@@ -265,6 +267,14 @@ in | |||
''; | |||
}; | |||
|
|||
useOsprober = mkOption { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename this to useOSProber
?
Looks good to me. |
@globin : you didn't rename the option in https://github.com/NixOS/nixpkgs/pull/22558/files#diff-3f0e9813c2baa6a4e7f8dbe5fd38ea56R435 |
I fixed that in an extra commit :) on my phone right now but should be the commit right after the merge |
Nix is case-sensitive. |
@symphorien or anybody else, I'm trying to test this, I added
I have an Arch Linux laying around on that hard disk as well. Is there a possibility to run the prober script alone to see what's its problem, or another way to debug this? |
Just run |
@symphorien Thanks! Now I was able to see the problem is detecting the other OS, not the grub.cfg generation. 👍 |
Motivation for this change
Fix #7406
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)I only tested on one machine (BIOS, x86_64 and grub2).