Merge pull request #308236 from drupol/gpt4all/bump/2-7-4

gpt4all: 2.7.3 -> 2.7.4
This commit is contained in:
Pol Dellaiera 2024-05-01 16:25:29 +02:00 committed by GitHub
commit 0d92c737a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,11 +11,11 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "gpt4all"; pname = "gpt4all";
version = "2.7.3"; version = "2.7.4";
src = fetchFromGitHub { src = fetchFromGitHub {
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-hIfeADP3tiooGZr/OMVFIkOAniMWXj9AsVzMPlVbucE="; hash = "sha256-G22d2Q6z7DmPHM/DEE7iyJ8SWRZdoVdSWw+gnPVHdEg=";
owner = "nomic-ai"; owner = "nomic-ai";
repo = "gpt4all"; repo = "gpt4all";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
@ -23,11 +23,6 @@ stdenv.mkDerivation (finalAttrs: {
sourceRoot = "${finalAttrs.src.name}/gpt4all-chat"; sourceRoot = "${finalAttrs.src.name}/gpt4all-chat";
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail 'set(CMAKE_INSTALL_PREFIX ''${CMAKE_BINARY_DIR}/install)' ""
'';
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
qt6.wrapQtAppsHook qt6.wrapQtAppsHook