Maybe nice to have one thread with all small questions/minor issues specific to upgrading from 21.11 to 22.05.
Let me start:
Q: on bootup I get a message that SGX is disabled by BIOS. I don’t use SGX, and the setting hardware.cpu.intel.sgx.provision.enable is unset which implies disabled. How do I get rid the message on bootup?
it is not an error or something that causes issue, it is just annoying because it is the only kernel output printed to to console on boot, so quite visible.
That refers to some intel feature. You probably have a kernel module installed that would enable that, but have it disabled in BIOS, as the error message says. Looks like you would have to go out of your way to install it (it’s an out-of-tree module, GitHub - intel/linux-sgx: Intel SGX for Linux*), but maybe it’s part of the linux-firmware package or something.
Up to you whether you want to just enable the switch in BIOS to allow it or figure out what kernel module to blacklist/uninstall. Or ignore the message; these kinds of messages are totally benign.
I have some weird libc issue in CLion after upgrading… when I try to run a Rust project, I get this:
/home/ash/.nix-profile/bin/cargo run --color=always
/home/ash/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo: /nix/store/qjgj2642srlbr59wwdihnn66sw97ming-glibc-2.33-123/lib/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/g9x3cm8wdmpm86pyiff6arx8skmdwkn7-gcc-11.3.0-lib/lib/libgcc_s.so.1)
I was hoping all the issues with glibc (I was using some packages from unstable, which caused problems due to opengl impurities) would go away once I upgraded. If I ldd that file, it seems like it should find the correct libc:
Most likely you have a package installed in a user profile, and have forgotten to update the user profile/channel. So the user profile packages are out of date, and no longer compatible with a newer glibc.
Normally this doesn’t cause issues for running software, but because of the indirection from rustup/cargo/gcc it probably ends up trying to link things with multiple glibc versions.
Your ldd output also shows that it’s not really using the correct libc (2.33 => 2.34):
Since upgrading, none onf my OpenGL enabled programs are able to function (kitty and neovide) complaining about unable to run OpenGL. I’m using home-manager and was sure to update both nixos and home-manager.
I don’t see any major changes to how OpenGL is managed in the release notes. Any idea?
~ ❯ glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.0.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.0.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
What’s the exact error you’re getting? Have you ever installed anything using nix-env? What are your home-manager and nixpkgs shas in practice? Have you rebooted so that the graphics driver can load the new version those applications are compiled for?
I did a rustup update and now it works – the new version of cargo is apparently compiled against glibc 2.34. (do you list user profiles with nix-env -q --installed? if so the only thing I have installed imperatively is home-manager-path.)
I thought using newer versions of libc was meant to work, but good to know that it doesn’t always, thanks.
The nix tool has changed quite a bit from 21.11 to 22.05, and I haven’t found any documentation on how to do the same things I could previously. I’ve worked out stuff like:
nix eval now needs --expr, and often needs --impure
nix edit nixos.hello is now nix edit -f "<nixpkgs>" hello
similarly, nix run nixos.hello -c hello is now nix run -f "<nixpkgs>" hello (with extra arguments after a --)
but I can’t tell how I’m meant to use nix search now without switching entirely to a flake-based system. The obvious thing seems to work initially:
$ nix search -f "<nixpkgs>" hello
* (2.12)
A program that produces a familiar, friendly greeting
but that doesn’t actually search for “hello”, it just prints out the hello nixpkgs attribute. So I tried <nixpkgs/nixos> and the pkgs attribute, but it seems to want to evaluate the entire attrset before doing anything:
$ nix search -f "<nixpkgs/nixos>" pkgs hello
error: Please be informed that this pseudo-package is not the only part of
Nixpkgs that fails to evaluate. You should not evaluate entire Nixpkgs
without some special measures to handle failing packages, like those taken
by Hydra.
which obviously doesn’t work.
How am I meant to search for packages on NixOS 22.05, apart from search.nixos.org (which, incidentally, still lists 22.05 as “beta”)?
building Nix...
warning: unknown setting 'experimental-features'
warning: unknown setting 'experimental-features'
building the system configuration...
error: Package ‘network-manager-applet-1.26.0’, is not a NetworkManager plug-in.
Those need to have a ‘networkManagerPlugin’ attribute.
… while evaluating 'assertMsg'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/asserts.nix:19:21:
18| # TODO(Profpatsch): add tests that check stderr
19| assertMsg = pred: msg:
| ^
20| pred || builtins.throw msg;
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/services/networking/networkmanager.nix:234:17:
233| p:
234| lib.assertMsg
| ^
235| (types.package.check p
… while evaluating 'check'
at /home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/services/networking/networkmanager.nix:233:17:
232| check =
233| p:
| ^
234| lib.assertMsg
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:782:22:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:782:17:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:782:12:
781| if isDefined then
782| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
783| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while evaluating the attribute 'value'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:793:27:
792| optionalValue =
793| if isDefined then { value = mergedValue; }
| ^
794| else {};
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/types.nix:403:14:
402| merge = loc: defs:
403| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
| ^
404| imap1 (m: def':
… from call site
… while evaluating the attribute 'content'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:903:14:
902| { _type = "if";
903| inherit condition content;
| ^
904| };
… while evaluating 'dischargeProperties'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:832:25:
831| */
832| dischargeProperties = def:
| ^
833| if def._type or "" == "merge" then
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:838:11:
837| if def.condition then
838| dischargeProperties def.content
| ^
839| else
… while evaluating 'dischargeProperties'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:832:25:
831| */
832| dischargeProperties = def:
| ^
833| if def._type or "" == "merge" then
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:761:137:
760| defs' = concatMap (m:
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
762| ) defs;
… while evaluating definitions from `/home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/services/networking/networkmanager.nix':
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:760:28:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:760:17:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:873:7:
872| in {
873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
874| inherit highestPrio;
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:774:9:
773| in {
774| values = defs''';
| ^
775| inherit (defs'') highestPrio;
… while evaluating the attribute 'mergedValue'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:780:5:
779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
780| mergedValue =
| ^
781| if isDefined then
… while evaluating the option `environment.etc':
… while evaluating the attribute 'value'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:746:9:
745| in warnDeprecation opt //
746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
747| inherit (res.defsFinal') highestPrio;
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:296:72:
295| # For definitions that have an associated option
296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
297|
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:401:20:
400| then recurse (path ++ [name]) value
401| else f (path ++ [name]) value;
| ^
402| in mapAttrs g;
… while evaluating 'g'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:398:19:
397| g =
398| name: value:
| ^
399| if isAttrs value && cond value
… from call site
… while evaluating the attribute 'default'
at /home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/config/resolvconf.nix:50:9:
49| type = types.bool;
50| default = !(config.environment.etc ? "resolv.conf");
| ^
51| defaultText = literalExpression ''!(config.environment.etc ? "resolv.conf")'';
… while evaluating the attribute 'value.content'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:918:14:
917| { _type = "override";
918| inherit priority content;
| ^
919| };
… while evaluating the attribute 'value._type'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:871:73:
870| highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
871| strip = def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
| ^
872| in {
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:770:19:
769| # Avoid sorting if we don't have to.
770| if any (def: def.value._type or "" == "order") defs''.values
| ^
771| then sortProperties defs''.values
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:770:14:
769| # Avoid sorting if we don't have to.
770| if any (def: def.value._type or "" == "order") defs''.values
| ^
771| then sortProperties defs''.values
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:774:9:
773| in {
774| values = defs''';
| ^
775| inherit (defs'') highestPrio;
… while evaluating the attribute 'mergedValue'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:780:5:
779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
780| mergedValue =
| ^
781| if isDefined then
… while evaluating the option `networking.resolvconf.enable':
… while evaluating the attribute 'value'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:746:9:
745| in warnDeprecation opt //
746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
747| inherit (res.defsFinal') highestPrio;
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:296:72:
295| # For definitions that have an associated option
296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
297|
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:401:20:
400| then recurse (path ++ [name]) value
401| else f (path ++ [name]) value;
| ^
402| in mapAttrs g;
… while evaluating 'g'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:398:19:
397| g =
398| name: value:
| ^
399| if isAttrs value && cond value
… from call site
… while evaluating the attribute 'condition'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:903:14:
902| { _type = "if";
903| inherit condition content;
| ^
904| };
… while evaluating the attribute 'condition'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:903:14:
902| { _type = "if";
903| inherit condition content;
| ^
904| };
… while evaluating the attribute 'condition'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:903:14:
902| { _type = "if";
903| inherit condition content;
| ^
904| };
… while evaluating 'dischargeProperties'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:832:25:
831| */
832| dischargeProperties = def:
| ^
833| if def._type or "" == "merge" then
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:761:137:
760| defs' = concatMap (m:
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
762| ) defs;
… while evaluating definitions from `/home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/config/resolvconf.nix':
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:760:28:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:760:17:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:873:7:
872| in {
873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
874| inherit highestPrio;
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:774:9:
773| in {
774| values = defs''';
| ^
775| inherit (defs'') highestPrio;
… while evaluating the attribute 'mergedValue'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:780:5:
779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
780| mergedValue =
| ^
781| if isDefined then
… while evaluating the option `systemd.services':
… while evaluating the attribute 'value'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:746:9:
745| in warnDeprecation opt //
746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
747| inherit (res.defsFinal') highestPrio;
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:296:72:
295| # For definitions that have an associated option
296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
297|
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:401:20:
400| then recurse (path ++ [name]) value
401| else f (path ++ [name]) value;
| ^
402| in mapAttrs g;
… while evaluating 'g'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:398:19:
397| g =
398| name: value:
| ^
399| if isAttrs value && cond value
… from call site
… while evaluating 'mapAttrsToList'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:355:23:
354| */
355| mapAttrsToList = f: attrs:
| ^
356| map (name: f name attrs.${name}) (attrNames attrs);
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/security/systemd-confinement.nix:145:40:
144|
145| config.assertions = lib.concatLists (lib.mapAttrsToList (name: cfg: let
| ^
146| whatOpt = optName: "The 'serviceConfig' option '${optName}' for"
… while evaluating the attribute 'value'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:581:44:
580| defnsByName' = byName "config" (module: value:
581| [{ inherit (module) file; inherit value; }]
| ^
582| ) configs;
… while evaluating 'dischargeProperties'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:832:25:
831| */
832| dischargeProperties = def:
| ^
833| if def._type or "" == "merge" then
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:761:137:
760| defs' = concatMap (m:
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
762| ) defs;
… while evaluating definitions from `/home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/security/systemd-confinement.nix':
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:760:28:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:760:17:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:873:7:
872| in {
873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
874| inherit highestPrio;
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:774:9:
773| in {
774| values = defs''';
| ^
775| inherit (defs'') highestPrio;
… while evaluating the attribute 'mergedValue'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:780:5:
779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
780| mergedValue =
| ^
781| if isDefined then
… while evaluating the option `assertions':
… while evaluating the attribute 'value'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:746:9:
745| in warnDeprecation opt //
746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
747| inherit (res.defsFinal') highestPrio;
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:296:72:
295| # For definitions that have an associated option
296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
297|
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:401:20:
400| then recurse (path ++ [name]) value
401| else f (path ++ [name]) value;
| ^
402| in mapAttrs g;
… while evaluating 'g'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:398:19:
397| g =
398| name: value:
| ^
399| if isAttrs value && cond value
… from call site
… while evaluating 'fold''
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/lists.nix:56:15:
55| len = length list;
56| fold' = n:
| ^
57| if n == len
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/lists.nix:60:8:
59| else op (elemAt list n) (fold' (n + 1));
60| in fold' 0;
| ^
61|
… while evaluating 'foldr'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/lists.nix:53:20:
52| */
53| foldr = op: nul: list:
| ^
54| let
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/system/activation/top-level.nix:139:12:
138| # Replace runtime dependencies
139| system = foldr ({ oldDependency, newDependency }: drv:
| ^
140| pkgs.replaceDependency { inherit oldDependency newDependency drv; }
… while evaluating the attribute 'value'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:581:44:
580| defnsByName' = byName "config" (module: value:
581| [{ inherit (module) file; inherit value; }]
| ^
582| ) configs;
… while evaluating 'dischargeProperties'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:832:25:
831| */
832| dischargeProperties = def:
| ^
833| if def._type or "" == "merge" then
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:761:137:
760| defs' = concatMap (m:
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
762| ) defs;
… while evaluating definitions from `/home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/system/activation/top-level.nix':
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:760:28:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:760:17:
759| # Process mkMerge and mkIf properties.
760| defs' = concatMap (m:
| ^
761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:873:7:
872| in {
873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
874| inherit highestPrio;
… while evaluating the attribute 'values'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:774:9:
773| in {
774| values = defs''';
| ^
775| inherit (defs'') highestPrio;
… while evaluating the attribute 'mergedValue'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:780:5:
779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
780| mergedValue =
| ^
781| if isDefined then
… while evaluating the option `system.build.toplevel':
… while evaluating the attribute 'value'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:746:9:
745| in warnDeprecation opt //
746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
747| inherit (res.defsFinal') highestPrio;
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:296:72:
295| # For definitions that have an associated option
296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
297|
… from call site
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:401:20:
400| then recurse (path ++ [name]) value
401| else f (path ++ [name]) value;
| ^
402| in mapAttrs g;
… while evaluating 'g'
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:398:19:
397| g =
398| name: value:
| ^
399| if isAttrs value && cond value
… from call site
… while evaluating anonymous lambda
at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:518:24:
517| let f = attrPath:
518| zipAttrsWith (n: values:
| ^
519| let here = attrPath ++ [n]; in
… from call site