summaryrefslogtreecommitdiff
path: root/pkgs/athena-bccr/unwrapped.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-08-02 20:31:01 -0600
committerAlejandro Soto <alejandro@34project.org>2025-08-02 20:31:27 -0600
commit789a5a9563f1c3e5270205d39d9eece50909b739 (patch)
treed606e0d8ccf7f5a9372448d6ed9a429667f91195 /pkgs/athena-bccr/unwrapped.nix
parent565089cfa6fe3b102d63d17ec1ad488be223326e (diff)
pkgs/athena-bccr: split ase-idprotect bin and lib outputs
Diffstat (limited to '')
-rw-r--r--pkgs/athena-bccr/unwrapped.nix10
1 files changed, 6 insertions, 4 deletions
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/*
'';
};