diff --git a/pkgs/by-name/ho/homepage-dashboard/package.nix b/pkgs/by-name/ho/homepage-dashboard/package.nix index d746cd5bd228..b48cb98ebe58 100644 --- a/pkgs/by-name/ho/homepage-dashboard/package.nix +++ b/pkgs/by-name/ho/homepage-dashboard/package.nix @@ -28,13 +28,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "homepage-dashboard"; - version = "1.2.0"; + version = "1.3.2"; src = fetchFromGitHub { owner = "gethomepage"; repo = "homepage"; tag = "v${finalAttrs.version}"; - hash = "sha256-B6hgQWAILfZNRFN4APX/3T2LcVj2FQPS/CAUdUA+drU="; + hash = "sha256-45Z2XS+ij6J6WSCb9/oDQa2eC9wKu+D7ncYwcB6K5gQ="; }; # This patch ensures that the cache implementation respects the env @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { src patches ; - hash = "sha256-1WsiSG+dZVpd28bBjf3EYn95sxMCXsQPd27/otWW0nI="; + hash = "sha256-aPkXHKG3vDsfYqYx9q9+2wZhuFqmPcXdoBqOfAvW9oA="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/ho/homepage-dashboard/prerender_cache_path.patch b/pkgs/by-name/ho/homepage-dashboard/prerender_cache_path.patch index 0cb82e17f77b..2476c65ade35 100644 --- a/pkgs/by-name/ho/homepage-dashboard/prerender_cache_path.patch +++ b/pkgs/by-name/ho/homepage-dashboard/prerender_cache_path.patch @@ -1,11 +1,26 @@ -diff --git c/patches/next.patch i/patches/next.patch +diff --git a/package.json b/package.json +index bb093c43..deeb4b8b 100644 +--- a/package.json ++++ b/package.json +@@ -66,6 +66,9 @@ + "pnpm": { + "onlyBuiltDependencies": [ + "sharp" +- ] ++ ], ++ "patchedDependencies": { ++ "next": "patches/next.patch" ++ } + } + } +diff --git a/patches/next.patch b/patches/next.patch new file mode 100644 -index 00000000..f4e808ed +index 00000000..dd1d8b7c --- /dev/null -+++ i/patches/next.patch ++++ b/patches/next.patch @@ -0,0 +1,13 @@ +diff --git a/dist/server/lib/incremental-cache/file-system-cache.js b/dist/server/lib/incremental-cache/file-system-cache.js -+index cbf9f0ce142ecf2202ec957ccb5dffc7d176bed7..6a19329d33e471e9d49b4a80ccb712ab5b6f39a6 100644 ++index c5bbdefd8aa2e97df91df00d1686d63fe54c8c0d..4dcdd8760e5ed135f7509c289abb33b5005ed470 100644 +--- a/dist/server/lib/incremental-cache/file-system-cache.js ++++ b/dist/server/lib/incremental-cache/file-system-cache.js +@@ -24,7 +24,7 @@ class FileSystemCache { @@ -17,17 +32,17 @@ index 00000000..f4e808ed + this.revalidatedTags = ctx.revalidatedTags; + this.debug = !!process.env.NEXT_PRIVATE_DEBUG_CACHE; + if (ctx.maxMemoryCacheSize) { -diff --git c/pnpm-lock.yaml i/pnpm-lock.yaml -index 170e380e..a6b1df1b 100644 ---- c/pnpm-lock.yaml -+++ i/pnpm-lock.yaml +diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml +index e3387dea..05918fa6 100644 +--- a/pnpm-lock.yaml ++++ b/pnpm-lock.yaml @@ -4,6 +4,11 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +patchedDependencies: + next: -+ hash: 183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f ++ hash: 9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab + path: patches/next.patch + importers: @@ -36,17 +51,17 @@ index 170e380e..a6b1df1b 100644 @@ -52,10 +57,10 @@ importers: version: 1.2.2 next: - specifier: ^15.2.4 -- version: 15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) -+ version: 15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^15.3.1 +- version: 15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) ++ version: 15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-i18next: specifier: ^12.1.0 -- version: 12.1.0(next@15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) -+ version: 12.1.0(next@15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) +- version: 12.1.0(next@15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) ++ version: 12.1.0(next@15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) ping: specifier: ^0.4.4 version: 0.4.4 -@@ -101,10 +106,6 @@ importers: +@@ -98,10 +103,6 @@ importers: xml-js: specifier: ^1.6.11 version: 1.6.11 @@ -57,7 +72,7 @@ index 170e380e..a6b1df1b 100644 devDependencies: '@tailwindcss/forms': specifier: ^0.5.10 -@@ -154,6 +155,10 @@ importers: +@@ -151,6 +152,10 @@ importers: typescript: specifier: ^5.7.3 version: 5.7.3 @@ -68,37 +83,29 @@ index 170e380e..a6b1df1b 100644 packages: -@@ -4905,7 +4910,7 @@ snapshots: +@@ -4901,7 +4906,7 @@ snapshots: natural-compare@1.4.0: {} -- next-i18next@12.1.0(next@15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): -+ next-i18next@12.1.0(next@15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): +- next-i18next@12.1.0(next@15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): ++ next-i18next@12.1.0(next@15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.26.9 '@types/hoist-non-react-statics': 3.3.6 -@@ -4913,14 +4918,14 @@ snapshots: +@@ -4909,14 +4914,14 @@ snapshots: hoist-non-react-statics: 3.3.2 i18next: 21.10.0 i18next-fs-backend: 1.2.0 -- next: 15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) -+ next: 15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) +- next: 15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) ++ next: 15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-i18next: 11.18.6(i18next@21.10.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) transitivePeerDependencies: - react-dom - react-native -- next@15.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): -+ next@15.2.4(patch_hash=183a00d10b2d534fdac49f2a3fe0e99fac7e401361e53e91c29d6f548caea03f)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): +- next@15.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): ++ next@15.3.1(patch_hash=9673472f3289a59e3cf64a56303c75752c2556c0d74d2a648eca3576b2695cab)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@next/env': 15.2.4 + '@next/env': 15.3.1 '@swc/counter': 0.1.3 -diff --git c/pnpm-workspace.yaml i/pnpm-workspace.yaml -new file mode 100644 -index 00000000..fc500af5 ---- /dev/null -+++ i/pnpm-workspace.yaml -@@ -0,0 +1,2 @@ -+patchedDependencies: -+ next: patches/next.patch