about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/firmware
diff options
context:
space:
mode:
authorLily Foster <lily@lily.flowers>2023-03-14 06:47:32 -0400
committerLily Foster <lily@lily.flowers>2023-03-14 06:47:32 -0400
commit30b287fbad05a5a3a0cb25e11d08a5644aa2ced4 (patch)
tree26a94259aea63ec902a90c38b876a3257ba0569e /pkgs/os-specific/linux/firmware
parent5a1dc8acd977ff3dccd1328b7c4a6995429a656b (diff)
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.
Diffstat (limited to 'pkgs/os-specific/linux/firmware')
-rw-r--r--pkgs/os-specific/linux/firmware/fwupd/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/firmware/fwupd/default.nix b/pkgs/os-specific/linux/firmware/fwupd/default.nix
index 331492b2d30f0..615df19c70ce0 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}]";