about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/misc/coreboot-toolchain/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/coreboot-toolchain/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/misc/coreboot-toolchain/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/coreboot-toolchain/default.nix b/nixpkgs/pkgs/development/tools/misc/coreboot-toolchain/default.nix
index 6591651ee65b..53dd4b59fa59 100644
--- a/nixpkgs/pkgs/development/tools/misc/coreboot-toolchain/default.nix
+++ b/nixpkgs/pkgs/development/tools/misc/coreboot-toolchain/default.nix
@@ -17,14 +17,14 @@ let
     , withAda ? true
     }:
 
-    stdenvNoCC.mkDerivation {
+    stdenvNoCC.mkDerivation (finalAttrs: {
       pname = "coreboot-toolchain-${arch}";
-      version = "4.21";
+      version = "4.22";
 
       src = fetchgit {
         url = "https://review.coreboot.org/coreboot";
-        rev = "c1386ef6128922f49f93de5690ccd130a26eecf2";
-        hash = "sha256-tFGyI170vbhRgJZDix69DfOD5nIY8T4chSP+qTt3kC8=";
+        rev = finalAttrs.version;
+        hash = "sha256-OCEBt3YYyfXpnskFojBn/JoWTkNJ4XAI58BG4pyscGc=";
         fetchSubmodules = false;
         leaveDotGit = true;
         postFetch = ''
@@ -66,7 +66,7 @@ let
         maintainers = with maintainers; [ felixsinger ];
         platforms = platforms.linux;
       };
-    }
+    })
   );
 in