nixos/macos-builder: pin stateVersion
(#342380)
Closes #325610, #325674
This commit is contained in:
parent
f8dd10da7e
commit
6f26c88376
@ -196,14 +196,8 @@ in
|
||||
# To prevent gratuitous rebuilds on each change to Nixpkgs
|
||||
nixos.revision = null;
|
||||
|
||||
stateVersion = lib.mkDefault (throw ''
|
||||
The macOS linux builder should not need a stateVersion to be set, but a module
|
||||
has accessed stateVersion nonetheless.
|
||||
Please inspect the trace of the following command to figure out which module
|
||||
has a dependency on stateVersion.
|
||||
|
||||
nix-instantiate --attr darwin.linux-builder --show-trace
|
||||
'');
|
||||
# to be updated by module maintainers, see nixpkgs#325610
|
||||
stateVersion = "24.05";
|
||||
};
|
||||
|
||||
users.users."${user}" = {
|
||||
|
Loading…
Reference in New Issue
Block a user