mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #308236 from drupol/gpt4all/bump/2-7-4
gpt4all: 2.7.3 -> 2.7.4
This commit is contained in:
commit
0d92c737a9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user