Skip to content

error: attribute 'overlay' missing #9

@songpola

Description

@songpola

I got an error when adding the overlay to the flake.
(I haven't added the snowfallorg.flake to my environment.systemPackages yet.)

I couldn't find the overlay in the source code (main). Is it perhaps missing?

This is my flake.nix
{
  inputs = {
    nixpkgs.url = "nixpkgs";
    snowfall-lib = {
      url = "github:snowfallorg/lib";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    snowfall-flake = {
      url = "github:snowfallorg/flake";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = inputs:
    inputs.snowfall-lib.mkFlake {
      inherit inputs;
      src = ./.;

      overlays = with inputs; [
        snowfall-flake.overlay
      ];
    };
}
This is the error
error: attribute 'overlay' missing
       at /nix/store/pz221dx8i7l2mrzj0znw3q07ha06x1vp-source/flake.nix:32:9:
           31|       overlays = with inputs; [
           32|         snowfall-flake.overlay
             |         ^
           33|       ];
       Did you mean overlays?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions