mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a6964afc8b84fe10106f0a90d4bf3acaeee85
7 lines
329 B
Nix
7 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
|