mirror of
https://github.com/ziglang/zig.git
synced 2024-11-21 19:42:56 +00:00
Pin nixpkgs to a working revision. With the latest stable channel nixos-21.05
, test behavior.saturating_arithmetic.test "saturating multiplication"
fails.
parent
8d3dcc6902
commit
6897885685
@ -1,6 +1,13 @@
|
||||
Here is a sample shell.nix for building/developing zig.
|
||||
```nix
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
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 { } }:
|
||||
|
||||
pkgs.mkShell {
|
||||
hardeningDisable = [ "all" ];
|
||||
|
Loading…
Reference in New Issue
Block a user