Skip to content

Commit

Permalink
Back to coreboot 24.08
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbaur committed Feb 11, 2025
1 parent 397202a commit d2f6291
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pkgs/coreboot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,16 @@ let
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "coreboot-${board}";
version = "24.12";
version = "24.08";
src =
(fetchgit {
url = "https://github.com/coreboot/coreboot";
rev = finalAttrs.version;
hash = "sha256-mdxYxE3JiHFDaftNVckeQTVOlF8sWccm74MrpgWtXb4=";
rev = "24.08";
hash = "sha256-l+TPBcAsbzYZgsLOPX30ZpgHINAByIIwRHzvjeirIvY=";
fetchSubmodules = true;
}).overrideAttrs
(_: {
# Fetch the remaining submodules not fetched by the initial submodule
# fetch, since coreboot has `update = none` set on some submodules.
# See https://github.com/nixos/nixpkgs/blob/4c62505847d88f16df11eff3c81bf9a453a4979e/pkgs/build-support/fetchgit/nix-prefetch-git#L328
# https://github.com/nixos/nixpkgs/blob/4c62505847d88f16df11eff3c81bf9a453a4979e/pkgs/build-support/fetchgit/nix-prefetch-git#L328
NIX_PREFETCH_GIT_CHECKOUT_HOOK = ''clean_git -C "$dir" submodule update --init --recursive --checkout -j ''${NIX_BUILD_CORES:-1} --progress'';
});
patches = [
Expand Down

0 comments on commit d2f6291

Please sign in to comment.