Nixpkgs version
Describe the bug
Limine bootloader instalation failed.
Steps to reproduce
Trying to install limine of an ASUS Dash F15 laptop, I use the same limine configuration on a thinkpad and it works perfectly. Right now its using systemd-boot, I added limine configurations and tried to rebuild with sudo nixos-rebuild boot --flake .#PC but the bootloader installation failed. Trying with --install-bootloader option has the same result.
Expected behaviour
Set up Limine bootloader
Screenshots
No response
Relevant log output
Traceback (most recent call last):
File "/nix/store/z44z6pvwglx78m781vc302q4dn8fkd80-limine-install.py", line 676, in <module>
main()
~~^^
File "/nix/store/z44z6pvwglx78m781vc302q4dn8fkd80-limine-install.py", line 665, in main
install_bootloader()
~~~~^^
File "/nix/store/z44z6pvwglx78m781vc302q4dn8fkd80-limine-install.py", line 619, in install_bootloader
efibootmgr_output = subprocess.check_output([
efibootmgr,
...<4 lines>...
'-L', 'Limine',
], stderr=subprocess.STDOUT, universal_newlines=True)
File "/nix/store/jngi3b58h7iw727mrk42pnfbg6gv5r7m-python3-3.13.11-env/lib/python3.13/subprocess.py", line 472, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/nix/store/jngi3b58h7iw727mrk42pnfbg6gv5r7m-python3-3.13.11-env/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/nix/store/c41lpawhs65ny7lr7xy9v2sv6zf4lfxb-efibootmgr-18/bin/efibootmgr', '-c', '-d', '/dev/nvme0n1', '-p', '1', '-l', '\efi\limine\BOOTX64.EFI', '-L', 'Limine']' returned non-zero exit status 5.
Failed to install bootloader
Command 'systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER -E NIXOS_NO_CHECK --collect --no-ask-password --pipe --quiet --service-type=exec --unit=nixos-rebuild-switch-to-configuration /nix/store/qs64f8pwil55i174w70nd528shf754z2-nixos-system-dash-26.05.20260217.0182a36/bin/switch-to-configuration boot' returned non-zero exit status 1.
Additional context
Here is the exact configurations used:
limine = {
enable = true;
maxGenerations = 3;
style = {
wallpapers = [
"${pkgs.cosmic-wallpapers}/share/backgrounds/cosmic/phytoplankton_bloom_nasa_oli2_20240121.jpg"
];
graphicalTerminal.margin = 0;
graphicalTerminal.background = "80000000";
};
};
System metadata
- system:
"x86_64-linux"
- host os:
Linux 6.18.12, NixOS, 26.05 (Yarara), 26.05.20260217.0182a36
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.31.3
- nixpkgs:
/nix/store/dx2qikyb4dyb6hbdfywbmsyla0z5a1h3-source
Notify maintainers
@JohnRTitor @lzcunt @Prince213 @programmerlexi @ryand56
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
Describe the bug
Limine bootloader instalation failed.
Steps to reproduce
Trying to install limine of an ASUS Dash F15 laptop, I use the same limine configuration on a thinkpad and it works perfectly. Right now its using
systemd-boot, I added limine configurations and tried to rebuild withsudo nixos-rebuild boot --flake .#PCbut the bootloader installation failed. Trying with--install-bootloaderoption has the same result.Expected behaviour
Set up Limine bootloader
Screenshots
No response
Relevant log output
Additional context
Here is the exact configurations used:
System metadata
"x86_64-linux"Linux 6.18.12, NixOS, 26.05 (Yarara), 26.05.20260217.0182a36yesyesnix-env (Nix) 2.31.3/nix/store/dx2qikyb4dyb6hbdfywbmsyla0z5a1h3-sourceNotify maintainers
@JohnRTitor @lzcunt @Prince213 @programmerlexi @ryand56
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.