From cff7863c34b759810a73b6db0e91b032b338ccf8 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 3 Oct 2021 20:03:00 +0200 Subject: [PATCH] coreboot-toolchain: Use git repository as source Signed-off-by: Felix Singer --- .../tools/misc/coreboot-toolchain/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/misc/coreboot-toolchain/default.nix b/pkgs/development/tools/misc/coreboot-toolchain/default.nix index c8f1a3e420a2..a7e0fecf2c07 100644 --- a/pkgs/development/tools/misc/coreboot-toolchain/default.nix +++ b/pkgs/development/tools/misc/coreboot-toolchain/default.nix @@ -56,15 +56,15 @@ let sha256 = "1l1gxs5ncdbgz91lsl4y7w5aapask3w02q9inayb2m5bwlwq6jrw"; }; - tar_coreboot_name = "coreboot-${version_coreboot}.tar.xz"; - tar_coreboot = fetchurl { - url = "https://coreboot.org/releases/${tar_coreboot_name}"; - sha256 = "0viw2x4ckjwiylb92w85k06b0g9pmamjy2yqs7fxfqbmfadkf1yr"; + coreboot = fetchgit { + url = "https://review.coreboot.org/coreboot"; + rev = "${version_coreboot}"; + sha256 = "00xr74yc0kj9rrqa1a8b7bih865qlp9i4zs67ysavkfrjrwwssxm"; }; in stdenvNoCC.mkDerivation rec { pname = "coreboot-toolchain"; version = version_coreboot; - src = tar_coreboot; + src = coreboot; nativeBuildInputs = [ perl curl gnumake git bison ];