organist icon indicating copy to clipboard operation
organist copied to clipboard

Allow defining alternative shells

Open nc6 opened this issue 10 months ago • 1 comments

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.

nc6 avatar Apr 18 '24 12:04 nc6

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

thufschmitt avatar Jun 21 '24 05:06 thufschmitt