Skip to content

Cannot use nixpkgs.overlays #10

Closed
Closed
@knedlsepp

Description

@knedlsepp

Describe the bug

I tried setting up a system-manager flake where I consume another flake that exposes a custom package and a corresponding nixosModule with a systemd service. In the system-manager flake I could successfully consume the nixosModule, however the package required for the service could not be found in pkgs. I guess this might be related to no mention of overlays when evaluating nixpkgs.legacyPackages in

pkgs = nixpkgs.legacyPackages.${config.nixpkgs.hostPlatform};
.

Expected behavior

Being able to set nixpkgs.overlays.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions