mirror of
https://github.com/mitchellh/zig-overlay.git
synced 2025-05-09 02:56:03 +03:00
add "init" template for an empty dev env
This commit is contained in:
parent
5ef08a767b
commit
16cb5d1851
4 changed files with 68 additions and 0 deletions
12
templates/init/shell.nix
Normal file
12
templates/init/shell.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
(import
|
||||
(
|
||||
let
|
||||
flake-compat = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.flake-compat;
|
||||
in
|
||||
fetchTarball {
|
||||
url = "https://github.com/edolstra/flake-compat/archive/${flake-compat.locked.rev}.tar.gz";
|
||||
sha256 = flake-compat.locked.narHash;
|
||||
}
|
||||
)
|
||||
{src = ./.;})
|
||||
.shellNix
|
Loading…
Add table
Add a link
Reference in a new issue