Merge pull request #255134 from lheckemann/shim-passthru-target

This commit is contained in:
Ryan Lahfa 2023-10-02 13:10:10 +02:00 committed by GitHub
commit 3b55340933
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";