ezquake: remove with statements

This commit is contained in:
Philip Taron 2024-08-16 14:05:32 -07:00
parent 479dd4d050
commit 979820ea65
No known key found for this signature in database

View File

@ -20,9 +20,9 @@ stdenv.mkDerivation rec {
expat curl jansson libpng libjpeg libGLU libGL libsndfile libXxf86vm pcre SDL2 vim speex
];
installPhase = with lib; let
sys = last (splitString "-" stdenv.hostPlatform.system);
arch = head (splitString "-" stdenv.hostPlatform.system);
installPhase = let
sys = lib.last (lib.splitString "-" stdenv.hostPlatform.system);
arch = lib.head (lib.splitString "-" stdenv.hostPlatform.system);
in ''
mkdir -p $out/bin
find .
@ -31,12 +31,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with lib; {
meta = {
homepage = "https://ezquake.com/";
description = "Modern QuakeWorld client focused on competitive online play";
mainProgram = "ezquake";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ edwtjo ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ edwtjo ];
};
}