From 0de2895c09d4bcea2ec141aef56abb36f84dcb4a Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Wed, 19 Jun 2024 21:50:36 -0400 Subject: [PATCH] edk2: add updateScript and changelog --- pkgs/by-name/ed/edk2/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ed/edk2/package.nix b/pkgs/by-name/ed/edk2/package.nix index 524ff18471b8..a5147a90e0ef 100644 --- a/pkgs/by-name/ed/edk2/package.nix +++ b/pkgs/by-name/ed/edk2/package.nix @@ -5,6 +5,7 @@ , bc , lib , buildPackages +, nix-update-script }: let @@ -98,11 +99,14 @@ edk2 = stdenv.mkDerivation { meta = with lib; { description = "Intel EFI development kit"; homepage = "https://github.com/tianocore/tianocore.github.io/wiki/EDK-II/"; + changelog = "https://github.com/tianocore/edk2/releases/tag/edk2-stable${edk2.version}"; license = licenses.bsd2; platforms = with platforms; aarch64 ++ arm ++ i686 ++ x86_64 ++ riscv64; }; passthru = { + updateScript = nix-update-script { }; + mkDerivation = projectDscPath: attrsOrFun: stdenv.mkDerivation (finalAttrs: let attrs = lib.toFunction attrsOrFun finalAttrs;