From 30b287fbad05a5a3a0cb25e11d08a5644aa2ced4 Mon Sep 17 00:00:00 2001 From: Lily Foster Date: Tue, 14 Mar 2023 06:47:32 -0400 Subject: [PATCH] fwupd: add passthru.fwupd-efi Some downstream consumers (e.g. ones that facilitate Secure Boot like Lanzaboote), might need to get the `fwupd-efi` derivation that `fwupd` was built with. Lanzaboote specifically plans to use this to be able to sign the EFI PE to allow fwupd to be used with Secure Boot enforcing. --- pkgs/os-specific/linux/firmware/fwupd/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/firmware/fwupd/default.nix b/pkgs/os-specific/linux/firmware/fwupd/default.nix index 331492b2d30f..615df19c70ce 100644 --- a/pkgs/os-specific/linux/firmware/fwupd/default.nix +++ b/pkgs/os-specific/linux/firmware/fwupd/default.nix @@ -382,6 +382,9 @@ stdenv.mkDerivation (finalAttrs: { # For updating. inherit test-firmware; + # For downstream consumers that need the fwupd-efi this was built with. + inherit fwupd-efi; + tests = let listToPy = list: "[${lib.concatMapStringsSep ", " (f: "'${f}'") list}]";