diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2023-10-02 13:10:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 13:10:10 +0200 |
commit | 3b55340933e392ee18e89361c80edb6adc43cc30 (patch) | |
tree | 6a6e5fd6e80b7ab37804867411ffcea5a75ae218 /pkgs | |
parent | 7f2cd88de8c08f934db7b260ece19642af1ae1cb (diff) | |
parent | 2ed602617c68fe42dff2b5b4d09ce86b00407d90 (diff) |
Merge pull request #255134 from lheckemann/shim-passthru-target
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/misc/shim/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/misc/shim/default.nix b/pkgs/tools/misc/shim/default.nix index ea13cc1bd66f3..1615a6d8c794a 100644 --- a/pkgs/tools/misc/shim/default.nix +++ b/pkgs/tools/misc/shim/default.nix @@ -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"; |