mirror of
https://github.com/mitchellh/zig-overlay.git
synced 2025-05-09 02:56:03 +03:00
template for zig compiler dev
This commit is contained in:
parent
157234d3d8
commit
66817dde5b
5 changed files with 118 additions and 0 deletions
9
templates/compiler-dev/shell.nix
Normal file
9
templates/compiler-dev/shell.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
(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