3
0
Fork 0
forked from mirrors/nixpkgs

zig: 0.3.0 -> 0.4.0

Bump to use LLVM8, but just guessing ;).
This commit is contained in:
Will Dietz 2019-04-09 00:08:26 -05:00
parent f3a5c0e671
commit 1a8328b126
2 changed files with 6 additions and 10 deletions

View file

@ -1,23 +1,19 @@
{ stdenv, fetchFromGitHub, cmake, llvmPackages, libxml2, zlib }:
stdenv.mkDerivation rec {
version = "0.3.0";
name = "zig-${version}";
version = "0.4.0";
pname = "zig";
src = fetchFromGitHub {
owner = "ziglang";
repo = "zig";
rev = "${version}";
sha256 = "089ywagxjjh7gxv8h8yg7jpmryzjf7n4m5irhdkhp2966d03kyxm";
repo = pname;
rev = version;
sha256 = "1cq6cc5pvybz9kn3y0j5gskkjq88hkmmcsva54mfzpcc65l3pv6p";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ llvmPackages.clang-unwrapped llvmPackages.llvm libxml2 zlib ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
];
meta = with stdenv.lib; {
description = "Programming languaged designed for robustness, optimality, and clarity";
homepage = https://ziglang.org/;

View file

@ -13391,7 +13391,7 @@ in
zmqpp = callPackage ../development/libraries/zmqpp { };
zig = callPackage ../development/compilers/zig {
llvmPackages = llvmPackages_7;
llvmPackages = llvmPackages_8;
};
zimlib = callPackage ../development/libraries/zimlib { };