etlegacy: remove mainprogram attribute

This commit is contained in:
Pol Dellaiera 2023-08-20 18:52:02 +02:00
parent eab7a24373
commit 3c9d06797b
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -51,10 +51,6 @@
echo "${version}"
fi
'';
mainProgram =
if stdenv.hostPlatform.system == "i686-linux"
then "etl.i386"
else "etl.x86_64";
in
stdenv.mkDerivation {
pname = "etlegacy";
@ -125,7 +121,7 @@ in
homepage = "https://etlegacy.com";
platforms = ["i686-linux" "x86_64-linux"];
license = [licenses.gpl3 licenses.cc-by-nc-sa-30];
inherit mainProgram;
mainProgram = "etl";
maintainers = with maintainers; [ashleyghooper drupol];
};
}