nextjs-ollama-llm-ui: 1.1.0 -> 1.2.0
https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/v.1.2.0 nextjs-ollama-llm-ui: fix github fetch url owner miss the tag name with a extra '.' on top. Should be take care for futures upgrade nextjs-ollama-llm-ui: fix font patch Update pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com> Update pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com> Update pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
parent
ab36ef17c8
commit
f67cf4cf2b
@ -1,18 +1,18 @@
|
||||
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
|
||||
index 647ed68..b08088e 100644
|
||||
--- a/src/app/layout.tsx
|
||||
+++ b/src/app/layout.tsx
|
||||
--- a/src/app/(chat)/layout.tsx
|
||||
+++ b/src/app/(chat)/layout.tsx
|
||||
@@ -1,10 +1,10 @@
|
||||
import type { Metadata } from "next";
|
||||
-import { Inter } from "next/font/google";
|
||||
+import localFont from "next/font/local";
|
||||
import "./globals.css";
|
||||
import "../globals.css";
|
||||
import { ThemeProvider } from "@/providers/theme-provider";
|
||||
import { Toaster } from "@/components/ui/sonner"
|
||||
|
||||
import { Toaster } from "@/components/ui/sonner";
|
||||
|
||||
-const inter = Inter({ subsets: ["latin"] });
|
||||
+const inter = localFont({ src: './Inter.ttf' });
|
||||
|
||||
+const inter = localFont({ src: '../Inter.ttf' });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Ollama UI",
|
||||
--
|
||||
|
@ -14,7 +14,8 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
tag = "v.${version}";
|
||||
in
|
||||
buildNpmPackage {
|
||||
pname = "nextjs-ollama-llm-ui";
|
||||
@ -23,10 +24,10 @@ buildNpmPackage {
|
||||
src = fetchFromGitHub {
|
||||
owner = "jakobhoeg";
|
||||
repo = "nextjs-ollama-llm-ui";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-IA7g96u5QY8cOuTbJEWw7+U+hSFBzIQVk4Kv3qHKAdM=";
|
||||
inherit tag;
|
||||
hash = "sha256-hgLeTWtnyxGMkMsAGBbaM2yeS/H8AStMPR2bjLdjwEc=";
|
||||
};
|
||||
npmDepsHash = "sha256-3M0BZ9KZZ0ONwvTLycfMR8skMQf8mzjeqYCwJY4l040=";
|
||||
npmDepsHash = "sha256-9+A+85IK4zmMGlBsVoLg7RnST72AhAM6xPGnBZLgLTk=";
|
||||
|
||||
patches = [
|
||||
# nextjs tries to download google fonts from the internet during buildPhase and fails in Nix sandbox.
|
||||
@ -91,7 +92,7 @@ buildNpmPackage {
|
||||
|
||||
meta = {
|
||||
description = "Simple chat web interface for Ollama LLMs";
|
||||
changelog = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/v${version}";
|
||||
changelog = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/${tag}";
|
||||
mainProgram = "nextjs-ollama-llm-ui";
|
||||
homepage = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui";
|
||||
license = lib.licenses.mit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user