diff options
| author | Anderson Torres <torres.anderson.85@protonmail.com> | 2024-09-30 13:01:02 -0300 |
|---|---|---|
| committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2024-10-02 20:03:35 -0300 |
| commit | dd122c58b1e40900ee8bf87fcc2d290e930f8a39 (patch) | |
| tree | f08310eac8183c26527df1b8b1a4058a7af15e6f | |
| parent | seabios: new parameter ___build-type (diff) | |
| download | nixpkgs-dd122c58b1e40900ee8bf87fcc2d290e930f8a39.tar.gz | |
seabios: passthru attribute `firmware`
So that the caller can pick the exact location of the resulting BIOS.
| -rw-r--r-- | pkgs/by-name/se/seabios/package.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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"; |
