Merge pull request #107535 from miikka/upgrade-zig-0.7.1

zig: 0.6.0 -> 0.7.1
This commit is contained in:
Sandro 2020-12-25 04:13:54 +01:00 committed by GitHub
commit f0317814f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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