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

Allow defining alternative shells #194

Open
nc6 opened this issue Apr 18, 2024 · 1 comment
Open

Allow defining alternative shells #194

nc6 opened this issue Apr 18, 2024 · 1 comment

Comments

@nc6
Copy link
Contributor

nc6 commented Apr 18, 2024

Often in haskell we want to define multiple shells, reflecting things like GHC versions and profiling.

nix develop .#ghc810
nix develop .#ghc96-profiling

Currently Organist doesn't support defining these since the shells attribute is a fixed set.

@thufschmitt
Copy link
Member

It just occurred to me now: you can actually do that by setting flake.devShells directly:

flake.devShells.foo = organist.shells.Bash,

It's not perfect, but it works

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

No branches or pull requests

2 participants