Commit 22b16b7a authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

etlegacy: remove symlinks

This will facilitate the installation of both 32 and 64bits version of the game
parent 94ec9028
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
{
  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
    ];