From 789a5a9563f1c3e5270205d39d9eece50909b739 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 2 Aug 2025 20:31:01 -0600 Subject: pkgs/athena-bccr: split ase-idprotect bin and lib outputs --- pkgs/athena-bccr/unwrapped.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pkgs/athena-bccr/unwrapped.nix') diff --git a/pkgs/athena-bccr/unwrapped.nix b/pkgs/athena-bccr/unwrapped.nix index 200e998..55ef107 100644 --- a/pkgs/athena-bccr/unwrapped.nix +++ b/pkgs/athena-bccr/unwrapped.nix @@ -67,19 +67,21 @@ in autoPatchelfHook ]; + outputs = [ "out" "lib" ]; + installPhase = '' runHook preInstall - install -m755 -d $out/{bin,etc,lib/x64-athena} + install -m755 -d $out/bin $lib/{etc,lib/x64-athena} install -m755 usr/bin/IDProtect{_Manager,PINTool} $out/bin/ - install -m755 usr/lib/x64-athena/* $out/lib/x64-athena - cp -r etc/Athena $out/etc/Athena + install -m755 usr/lib/x64-athena/* $lib/lib/x64-athena + cp -r etc/Athena $lib/etc/Athena runHook postInstall ''; preFixup = '' - patchelf --set-rpath $out/lib/x64-athena $out/bin/* + patchelf --set-rpath $lib/lib/x64-athena $out/bin/* ''; }; -- cgit v1.2.3