mirror of
https://github.com/ziglang/zig.git
synced 2024-11-21 19:42:56 +00:00
custom nix repo not needed
parent
16326c9272
commit
f8952bb9b5
@ -2,14 +2,7 @@
|
||||
|
||||
Here is a sample `shell.nix` for building/developing zig.
|
||||
```nix
|
||||
let
|
||||
nixpkgs = builtins.fetchTarball {
|
||||
# nixpkgs-unstable (2021-10-28)
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/22a500a3f87bbce73bd8d777ef920b43a636f018.tar.gz";
|
||||
sha256 = "1rqp9nf45m03mfh4x972whw2gsaz5x44l3dy6p639ib565g24rmh";
|
||||
};
|
||||
in
|
||||
{ pkgs ? import nixpkgs { } }:
|
||||
with import <nixpkgs> {};
|
||||
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
|
Loading…
Reference in New Issue
Block a user