summaryrefslogtreecommitdiffstats
path: root/shell.nix
blob: 8d17121f59ddb18f010077c0bb00ac2cc7ef739c (plain)
1
2
3
4
5
6
7
# Make the behaviour of `nix-shell` consistent with the one of `nix develop`
# by returning the default devShell output from the flake. This is useful when
# I do not want to work with direnv, or simply need backwards compatibility.
{system ? builtins.currentSystem}: let
  nvf = import ./.;
in
  nvf.devShells.${system}.default