mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-12-20 03:30:20 +01:00
8 lines
329 B
Nix
8 lines
329 B
Nix
|
|
# 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
|