mirror of
https://github.com/ziglang/zig.git
synced 2025-02-16 09:30:17 +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.
|
Here is a sample `shell.nix` for building/developing zig.
|
||||||
```nix
|
```nix
|
||||||
let
|
with import <nixpkgs> {};
|
||||||
nixpkgs = builtins.fetchTarball {
|
|
||||||
# nixpkgs-unstable (2021-10-28)
|
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/22a500a3f87bbce73bd8d777ef920b43a636f018.tar.gz";
|
|
||||||
sha256 = "1rqp9nf45m03mfh4x972whw2gsaz5x44l3dy6p639ib565g24rmh";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{ pkgs ? import nixpkgs { } }:
|
|
||||||
|
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
|
Loading…
Reference in New Issue
Block a user