1
0
Fork 0
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:
Mitchell Hashimoto 2022-11-10 14:02:57 -08:00
parent 5ef08a767b
commit 16cb5d1851
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC
4 changed files with 68 additions and 0 deletions

12
templates/init/shell.nix Normal file
View 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