zig: 0.6.0 -> 0.7.1

This commit is contained in:
Miikka Koskinen 2020-12-24 10:11:01 +02:00
parent 9721604610
commit 5b95e93e1d
2 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, llvmPackages, libxml2, zlib, substituteAll }:
llvmPackages.stdenv.mkDerivation rec {
version = "0.6.0";
version = "0.7.1";
pname = "zig";
src = fetchFromGitHub {
owner = "ziglang";
repo = pname;
rev = version;
sha256 = "13dwm2zpscn4n0p5x8ggs9n7mwmq9cgip383i3qqphg7m3pkls8z";
sha256 = "1z6c4ym9jmga46cw2arn7zv2drcpmrf3vw139gscxp27n7q2z5md";
};
nativeBuildInputs = [ cmake ];
@ -26,7 +26,7 @@ llvmPackages.stdenv.mkDerivation rec {
checkPhase = ''
runHook preCheck
./zig test $src/test/stage1/behavior.zig
./zig test --cache-dir "$TMPDIR" -I $src/test $src/test/stage1/behavior.zig
runHook postCheck
'';

View File

@ -16643,7 +16643,7 @@ in
libzra = callPackage ../development/libraries/libzra { };
zig = callPackage ../development/compilers/zig {
llvmPackages = llvmPackages_10;
llvmPackages = llvmPackages_11;
};
zimlib = callPackage ../development/libraries/zimlib { };