-
-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
bugSomething isn't workingSomething isn't working
Description
On NixOS unstable, fully updated
With
lanzaboote.url = "github:nix-community/lanzaboote";
as part of inputs in flake.nix
$ sudo nixos-rebuild switch
warning: Git tree '/etc/nixos' is dirty
warning: updating lock file '"/etc/nixos/flake.lock"':
• Updated input 'lanzaboote/nixpkgs':
follows 'nixpkgs'
→ 'github:NixOS/nixpkgs/2fad6eac6077f03fe109c4d4eb171cf96791faa4?narHash=sha256-sKoIWfnijJ0%2B9e4wRvIgm/HgE27bzwQxcEmo2J/gNpI%3D' (2025-11-27)
warning: Git tree '/etc/nixos' is dirty
building the system configuration...
warning: Git tree '/etc/nixos' is dirty
error:
… while calling the 'head' builtin
at /nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/lib/attrsets.nix:1696:13:
1695| if length values == 1 || pred here (elemAt values 1) (head values) then
1696| head values
| ^
1697| else
… while evaluating the attribute 'value'
at /nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/lib/modules.nix:1118:7:
1117| // {
1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1119| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `system.systemBuilderArgs':
… while evaluating definitions from `/nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `system.build.installBootLoader':
… while evaluating definitions from `/nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/nixos/modules/system/boot/loader/external/external.nix':
… while evaluating the option `boot.loader.external.installHook':
… while evaluating the option `boot.lanzaboote.installCommand':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: function 'anonymous lambda' called without required argument 'toRustTarget'
at /nix/store/0ari002ay63h19h823qbhvl0b4x99zsd-source/lib/rust-bin.nix:3:1:
2| # Provide the content of `rust-bin`.
3| {
| ^
4| lib,
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/etc/nixos#nixosConfigurations."saturn".config.system.build.toplevel' --no-link' returned non-zero exit status 1
And this other error while pinning to v0.4.3 in flake inputs
warning: Git tree '/etc/nixos' is dirty
building the system configuration...
warning: Git tree '/etc/nixos' is dirty
error:
… while calling the 'head' builtin
at /nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/lib/attrsets.nix:1696:13:
1695| if length values == 1 || pred here (elemAt values 1) (head values) then
1696| head values
| ^
1697| else
… while evaluating the attribute 'value'
at /nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/lib/modules.nix:1118:7:
1117| // {
1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1119| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `system.systemBuilderArgs':
… while evaluating definitions from `/nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `system.build.installBootLoader':
… while evaluating definitions from `/nix/store/fqyqwsw82v7jr6ncgrrg7cama5sl577r-source/nixos/modules/system/boot/loader/external/external.nix':
… while evaluating the option `boot.loader.external.installHook':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: Stable 1.86.0 is not available
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/etc/nixos#nixosConfigurations."saturn".config.system.build.toplevel' --no-link' returned non-zero exit status 1.
Making lanzaboote follow nixpkgs in flakes does not change the outcome if that helps
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working