From ca6ac0d5cb77b1328be42e36582bfcc970512ed9 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 9 Mar 2026 02:33:10 -0600 Subject: trivionomicon: athena-bccr: patch hard-coded FHS paths in idopte driver --- modules/athena-bccr/sys.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'modules/athena-bccr') diff --git a/modules/athena-bccr/sys.nix b/modules/athena-bccr/sys.nix index ce63b01..425c23a 100644 --- a/modules/athena-bccr/sys.nix +++ b/modules/athena-bccr/sys.nix @@ -7,6 +7,9 @@ }: let athena = pkgs.${doctrine.prefix}.athena-bccr.${cfg.release}; inherit (athena) vendor; + + driver = athena.card-driver.lib; + scmiddleware = "${driver}/lib/SCMiddleware"; in { environment = { etc = @@ -16,11 +19,12 @@ in { ''; } // lib.optionalAttrs (vendor == "athena") { - "Athena".source = "${athena.card-driver.lib}/etc/Athena"; + "Athena".source = "${driver}/etc/Athena"; } // lib.optionalAttrs (vendor == "idopte") { - "idoss.conf".source = "${athena.card-driver.lib}/etc/idoss.conf"; - "idoss.lic".source = "${athena.card-driver.lib}/etc/idoss.lic"; + "idoss.conf".source = "${driver}/etc/idoss.conf"; + "idoss.lic".source = "${driver}/etc/idoss.lic"; + "SCMiddleware".source = scmiddleware; }; systemPackages = [athena.card-driver]; -- cgit v1.2.3