diff --git a/pkgs/by-name/te/tetrio-plus/package.nix b/pkgs/by-name/te/tetrio-plus/package.nix index 8750e5e61381..c726d9cafab5 100644 --- a/pkgs/by-name/te/tetrio-plus/package.nix +++ b/pkgs/by-name/te/tetrio-plus/package.nix @@ -14,12 +14,12 @@ let version = "0.27.5"; - rev = "electron-v${version}-tetrio-v${tetrio-desktop.version}"; + tag = "electron-v${version}-tetrio-v${tetrio-desktop.version}"; src = fetchFromGitLab { owner = "UniQMG"; repo = "tetrio-plus"; - inherit rev; + inherit tag; hash = "sha256-hbHofrC2dJOh2kh3VLb/d0dHrcszyqTyID1PAaGApxY="; }; @@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: { runHook preBuild # tetrio-plus expects the vanilla asar to be extracted into 'out' and - # 'out' is the directory contianing the final patched asar's contents + # 'out' is the directory containing the final patched asar's contents asar extract ${tetrio-desktop.src}/opt/TETR.IO/resources/app.asar out # Install custom package.json/yarn.lock that describe the additional node @@ -83,11 +83,11 @@ stdenv.mkDerivation (finalAttrs: { ''; installPhase = '' - runHook preinstall + runHook preInstall asar pack out $out - runHook postinstall + runHook postInstall ''; meta = { @@ -97,7 +97,7 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://gitlab.com/UniQMG/tetrio-plus"; downloadPage = "https://gitlab.com/UniQMG/tetrio-plus/-/releases"; - changelog = "https://gitlab.com/UniQMG/tetrio-plus/-/releases/${rev}"; + changelog = "https://gitlab.com/UniQMG/tetrio-plus/-/releases/${tag}"; license = [ lib.licenses.mit # while tetrio-plus is itself mit, the result of this derivation