From 011d47ec63571bf539d410fcafe15e99ac017f8e Mon Sep 17 00:00:00 2001 From: Dean Eckert Date: Sun, 16 Jun 2024 22:40:30 +0200 Subject: [PATCH 1/2] lmstudio: disabled unsupported linux versions (AVX2 is required on linux) --- pkgs/by-name/lm/lmstudio/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/lm/lmstudio/package.nix b/pkgs/by-name/lm/lmstudio/package.nix index 4b48cc01ee2a..962bd58a94f0 100644 --- a/pkgs/by-name/lm/lmstudio/package.nix +++ b/pkgs/by-name/lm/lmstudio/package.nix @@ -5,14 +5,14 @@ }: let pname = "lmstudio"; - version = "0.2.24"; + version = "0.2.25"; meta = { description = "LM Studio is an easy to use desktop app for experimenting with local and open-source Large Language Models (LLMs)"; homepage = "https://lmstudio.ai/"; license = lib.licenses.unfree; mainProgram = "lmstudio"; maintainers = with lib.maintainers; [ cig0 eeedean ]; - platforms = lib.platforms.linux ++ [ "aarch64-darwin" ]; + platforms = [ "x86_64-linux" "aarch64-darwin" ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; in From 7712ff7afe82412a16f876e1551b1a0bebf44193 Mon Sep 17 00:00:00 2001 From: Dean Eckert Date: Sun, 16 Jun 2024 22:41:02 +0200 Subject: [PATCH 2/2] lmstudio: 0.2.24 -> 0.2.25 --- pkgs/by-name/lm/lmstudio/darwin.nix | 2 +- pkgs/by-name/lm/lmstudio/linux.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/lm/lmstudio/darwin.nix b/pkgs/by-name/lm/lmstudio/darwin.nix index 91c2ce3b4ca9..f08d2d1510b7 100644 --- a/pkgs/by-name/lm/lmstudio/darwin.nix +++ b/pkgs/by-name/lm/lmstudio/darwin.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation { src = fetchurl { url = "https://releases.lmstudio.ai/mac/arm64/${version}/latest/LM-Studio-${version}-arm64.dmg"; - hash = "sha256-wl3uyRtqY5w8NnESBKcP+CicIh8cCkKmrcVuiijzzTQ="; + hash = "sha256-byS0LNJQjs/+sf2anhTAdsXUWad9HujxmLx5uEfdlo8="; }; nativeBuildInputs = [ undmg ]; diff --git a/pkgs/by-name/lm/lmstudio/linux.nix b/pkgs/by-name/lm/lmstudio/linux.nix index fce43718b00a..abca76ac032a 100644 --- a/pkgs/by-name/lm/lmstudio/linux.nix +++ b/pkgs/by-name/lm/lmstudio/linux.nix @@ -7,8 +7,8 @@ }: let src = fetchurl { - url = "https://releases.lmstudio.ai/linux/${version}/beta/LM_Studio-${version}.AppImage"; - hash = "sha256-1ahPRRgcYfW9eD04yeF4ft+yLn9+nIPOV5Vkv7rMiT8="; + url = "https://releases.lmstudio.ai/linux/x86/${version}/beta/LM_Studio-${version}.AppImage"; + hash = "sha256-2a3ac+0m3C/YyPM0Waia+x2Q/lodfbyHNvlbB2AHT78="; }; appimageContents = appimageTools.extractType2 { inherit pname version src; };