From dd122c58b1e40900ee8bf87fcc2d290e930f8a39 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Mon, 30 Sep 2024 13:01:02 -0300 Subject: [PATCH] seabios: passthru attribute `firmware` So that the caller can pick the exact location of the resulting BIOS. --- pkgs/by-name/se/seabios/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/se/seabios/package.nix b/pkgs/by-name/se/seabios/package.nix index 0e0fc06aeb16..ac647e93b195 100644 --- a/pkgs/by-name/se/seabios/package.nix +++ b/pkgs/by-name/se/seabios/package.nix @@ -89,6 +89,11 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru = { + build-type = ___build-type; + firmware = "${finalAttrs.finalPackage}/share/seabios/${biosfile}"; + }; + meta = { homepage = "https://www.seabios.org"; description = "Open source implementation of a 16bit x86 BIOS";