ITADN

error: attribute 'overlay' missing

#9Opensongpola 创建于 2024-05-04
S
songpolacommented
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? <details> <summary>This is my flake.nix</summary> ```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 ]; }; } ``` </details> <details> <summary>This is the error</summary> ``` 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? ``` </details>
2 条评论