From 71f6ac0f46910b8edcf1784dfa7684757f99d24a Mon Sep 17 00:00:00 2001 From: xeals Date: Mon, 6 Mar 2023 10:44:10 +1100 Subject: [PATCH] atlauncher: add compat for sourceProvenance Occasionally gets evaluated with nixpkgs-22.05 which doesn't have these definitions. --- pkgs/unit/at/atlauncher/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/unit/at/atlauncher/package.nix b/pkgs/unit/at/atlauncher/package.nix index 10e1950..635071d 100644 --- a/pkgs/unit/at/atlauncher/package.nix +++ b/pkgs/unit/at/atlauncher/package.nix @@ -29,15 +29,17 @@ stdenv.mkDerivation rec { --add-flags "--working-dir \''${XDG_DATA_HOME:-\$HOME/.local/share}/ATLauncher" ''; - meta = with lib; { + meta = { description = "Minecraft launcher"; longDescription = '' ATLauncher is a Launcher for Minecraft which integrates multiple different ModPacks to allow you to download and install ModPacks easily and quickly. ''; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; - license = licenses.gpl3Only; - platforms = platforms.all; + sourceProvenance = [ + (lib.sourceTypes.binaryBytecode or { shortName = "binaryBytecode"; isSource = false; }) + ]; + license = lib.licenses.gpl3Only; + platforms = lib.platforms.all; homepage = "https://atlauncher.com/"; }; }