etlegacy: remove symlinks

This will facilitate the installation of both 32 and 64bits version of the game
This commit is contained in:
Pol Dellaiera
2025-09-30 21:47:01 +02:00
parent 94ec902818
commit 22b16b7a61

View File

@@ -1,5 +1,6 @@
{
lib,
stdenv,
symlinkJoin,
etlegacy-assets,
etlegacy-unwrapped,
@@ -9,6 +10,7 @@
symlinkJoin {
name = "etlegacy";
version = "2.83.2";
paths = [
etlegacy-assets
etlegacy-unwrapped
@@ -23,8 +25,6 @@ symlinkJoin {
--add-flags "+set fs_basepath ${placeholder "out"}/lib/etlegacy"
wrapProgram $out/bin/etlded.* \
--add-flags "+set fs_basepath ${placeholder "out"}/lib/etlegacy"
makeWrapper $out/bin/etl.* $out/bin/etl
makeWrapper $out/bin/etlded.* $out/bin/etlded
'';
meta = {
@@ -39,7 +39,7 @@ symlinkJoin {
for the popular online FPS game Wolfenstein: Enemy Territory - whose
gameplay is still considered unmatched by many, despite its great age.
'';
mainProgram = "etl";
mainProgram = "etl." + (if stdenv.hostPlatform.isi686 then "i386" else "x86_64");
maintainers = with lib.maintainers; [
ashleyghooper
];