From d73def49bd0ae2f20fdde89774c1a117a586c0c0 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 10 Mar 2026 20:03:02 -0600 Subject: trivionomicon: athena-bccr: separate releases by vendor, add 'vendor' option --- trivionomicon/modules/athena-bccr/sys.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'trivionomicon/modules/athena-bccr/sys.nix') 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 = -- cgit v1.2.3