It’s as the title says. I have a nixos configuration that seems to be missing lib functions whenever i update the inputs. No matter what i do, it does not seem to work in the latest commit for nixpkgs.
Checks
Normal checks
- Clone my repo nixos
- nix flake check
Reproducing the issue:
- Clone my repo nixos
- nix flake update
- nix flake check
Output for the steps:
warning: Git tree '/etc/nixos' is dirty
warning: unknown flake output 'images'
error:
… while checking flake output 'nixosConfigurations'
at /nix/store/qk7qh607wv6yf3vzhms5c02idkpbx80i-source/flake.nix:226:7:
225| # some sensible default configurations.
226| nixosConfigurations =
| ^
227| lib'.mapAttrs
… while checking the NixOS configuration 'nixosConfigurations.tokyo'
at «none»:0: (source not available)
(stack trace truncated; use '--show-trace' to show the full trace)
error: attribute 'getUser' missing
at /nix/store/qk7qh607wv6yf3vzhms5c02idkpbx80i-source/hosts/tokyo/default.nix:8:6:
7|
8| (lib.getUser "enmei")
| ^
9| ];
Clues
It doesn’t seem to be due to a change in any of the files in my configuration. If anything, checking out in a older commit also gives me the same issue, so i have no clue on how to figure it out. Thanks in advance.