Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for .env shells to flake.nix #3322

Merged
merged 2 commits into from
Nov 9, 2022

Conversation

Gabriella439
Copy link
Contributor

@Gabriella439 Gabriella439 commented Nov 7, 2022

The main motivation for this change is to enable development of HLS plugins by generating a .env shell for every package in this repository.

Example usage:

$ nix develop .#haskell-language-server-dev-env.hls-fourmolu-plugin

This is a plain shell, though, without any tooling installed, identical to the one that Nixpkgs provides by default.

The main motivation for this change is to enable development
of HLS plugins by generating a `.env` shell for every package in
this repository.

Example usage:

```ShellSession
$ nix develop .#haskell-language-server-dev-env.hls-fourmolu-plugin
```

This is a plain shell, though, without any tooling installed, identical
to the one that Nixpkgs provides by default.
Copy link
Collaborator

@guibou guibou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@guibou
Copy link
Collaborator

guibou commented Nov 8, 2022

@Gabriella439 Thank you for this contribution.

Is it possible to add a bit of documentation (In the different Readme or directly in the flake file) so users will easily understand the difference between the different shells?

This being said, I approved, so just add documentation if you have time and feel it, that's not a requirement.

@michaelpj
Copy link
Collaborator

@Gabriella439 are you interested in helping to maintain the nix setup in this repo? You would be welcome to :) If so you could add yourself to CODEOWNERS.

@Gabriella439
Copy link
Contributor Author

Yes, I am interested in helping maintain the Nix setup! I'll add myself as a CODEOWNER in a separate PR, though

@michaelpj michaelpj merged commit 7c0201b into haskell:master Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants