The option `nixpkgs.pkgs' is used but not defined. #45
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/flake-compat#45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The full trace is included at the bottom. I am trying to use flake-compat as a shim to generate a
configuration.nix
fornixos-install
since the installer seems to be broken in many weird ways.I tried to debug the installer, but the issue is fundamentally with the output of the flake, and it doesn't seem to set up a new system correctly. For example, writing the ISO's
fstab
to/mnt/etc
rather than the one generated by my flake's activation script.I have some glue code (bash) around these lines:
Obviously
$root_dir
,$flake_path
, and$host_name
are handled elsewhere in the shell script. The flake is pre-built and sent over to the store at/mnt/nix/store
before runningnixos-install
(on$root_dir
which is/mnt
).I have attempted to follow the trace myself to determine if I can do something about it -- alas I am not experienced enough. I feel that it is worth note that I perform an explicit import of nixpkgs (that is a link to my
flake.nix
).I would like to know if I am using the wrong attribute path (in
configuration.nix
) or something, and if the issue is thatnixpkgs.pkgs
is not being evaluated properly. If it is being evaluated correctly byflake-compat
, I would like to know what wantsnixpkgs.pkgs
, I do not see any occurrence in my code.Thanks.
When running
nixos-install
, I see the following: