diff options
author | Will Dietz <w@wdtz.org> | 2019-04-09 00:08:26 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-04-09 00:51:35 -0500 |
commit | 1a8328b12685e66103ecfde13175c13f74d316c4 (patch) | |
tree | a3d66837f3cfe54a0d1e690ab75e915f6c823d1f /pkgs/development/compilers/zig | |
parent | f3a5c0e67133f8a0d892a2713584cf68b6b58366 (diff) |
zig: 0.3.0 -> 0.4.0
Bump to use LLVM8, but just guessing ;).
Diffstat (limited to 'pkgs/development/compilers/zig')
-rw-r--r-- | pkgs/development/compilers/zig/default.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pkgs/development/compilers/zig/default.nix b/pkgs/development/compilers/zig/default.nix index fd95635616fca..35ad09320dec4 100644 --- a/pkgs/development/compilers/zig/default.nix +++ b/pkgs/development/compilers/zig/default.nix @@ -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/; |