405 B
405 B
19-devshell-vs-shellfor
This example compares two dev shell styles for the same local package.
It includes:
- a generic
mkShellshell, - a Haskell-specific
shellForshell, - one local package that both shells support, and
- a test suite run by
nix flake check.
Useful commands:
nix develop .#generic
nix develop .#shellFor
nix build
./result/bin/mini-shell-choice
nix flake check