shim-unsigned: passthru target attribute

This commit is contained in:
Linus Heckemann 2023-09-14 17:27:57 +02:00
parent ace5093e36
commit 2ed602617c

View file

@ -36,6 +36,13 @@ in stdenv.mkDerivation rec {
install -m 644 ${target} $out/share/shim/
'';
passthru = {
# Expose the target file name so that consumers
# (e.g. infrastructure for signing this shim) don't need to
# duplicate the logic from here
inherit target;
};
meta = with lib; {
description = "UEFI shim loader";
homepage = "https://github.com/rhboot/shim";