diff options
| author | Alejandro Soto <alejandro@34project.org> | 2026-03-10 20:03:02 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2026-03-11 01:27:55 -0600 |
| commit | d73def49bd0ae2f20fdde89774c1a117a586c0c0 (patch) | |
| tree | d4711935962ad05d967d2dfe81123855cbfccf65 /trivionomicon/modules/athena-bccr/sys.nix | |
| parent | e164446b53866ceda3bdd748f3d4777cadbcdeee (diff) | |
trivionomicon: athena-bccr: separate releases by vendor, add 'vendor' option
Diffstat (limited to '')
| -rw-r--r-- | trivionomicon/modules/athena-bccr/sys.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/trivionomicon/modules/athena-bccr/sys.nix b/trivionomicon/modules/athena-bccr/sys.nix index bd7d758..0b4658c 100644 --- a/trivionomicon/modules/athena-bccr/sys.nix +++ b/trivionomicon/modules/athena-bccr/sys.nix @@ -6,17 +6,15 @@ doctrine, ... }: let - athena = - (pkgs.${doctrine.prefix}.athena-bccr.override { - inherit (cfg) mirror; - }).${ - cfg.release - }; - - inherit (athena) vendor; + releases = pkgs.${doctrine.prefix}.athena-bccr.override { + inherit (cfg) mirror vendor; + }; + athena = releases.${cfg.release}; driver = athena.card-driver.lib; scmiddleware = "${driver}/lib/SCMiddleware"; + + inherit (cfg) vendor; in { environment = { etc = |
