Pin nixpkgs to a working revision. With the latest stable channel nixos-21.05, test behavior.saturating_arithmetic.test "saturating multiplication" fails.

erikarvstedt 2021-10-28 15:04:19 +02:00
parent 8d3dcc6902
commit 6897885685

@ -1,6 +1,13 @@
Here is a sample shell.nix for building/developing zig. Here is a sample shell.nix for building/developing zig.
```nix ```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 { pkgs.mkShell {
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];