Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

flake.nix should provide an overlay #77

Open
lilyball opened this issue Feb 1, 2022 · 0 comments
Open

flake.nix should provide an overlay #77

lilyball opened this issue Feb 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lilyball
Copy link

lilyball commented Feb 1, 2022

Description

The rnix-lsp flake should provide a nixpkgs overlay that defines rnix-lsp, this way I can compose it into my nixpkgs without having to change any configuration that already uses pkgs.rnix-lsp. This would be done with an overlay output.

@lilyball lilyball added the enhancement New feature or request label Feb 1, 2022
a-kenji added a commit to a-kenji/rnix-lsp that referenced this issue Apr 7, 2022
Add `rnix-lsp` `overlays` to the flake outputs, in order to be directly
consumed by other flakes.

Provides 2 overlays:
- default: with package named `rnix-lsp`, so people can overwrite their
  existing configuration
- nightly: with package named `rnix-lsp-nightly`, so people can opt in
  to this package on a case-by-case basis

Also for now still uses the `overlay` attribute, for backwards
compatibility, is that needed?

fixes: nix-community#77
@a-kenji a-kenji mentioned this issue Apr 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant