mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
meta: add flake-compat & expose flakeless interface
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a6964afc8b84fe10106f0a90d4bf3acaeee85
This commit is contained in:
parent
0c9b4d0d80
commit
c1fea30214
4 changed files with 72 additions and 14 deletions
7
shell.nix
Normal file
7
shell.nix
Normal file
|
@ -0,0 +1,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
|
Loading…
Add table
Add a link
Reference in a new issue