Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
90 lines
3.6 KiB
Diff
90 lines
3.6 KiB
Diff
diff --git c/package.json i/package.json
|
|
index 536d73bf..565de99e 100644
|
|
--- c/package.json
|
|
+++ i/package.json
|
|
@@ -73,6 +73,9 @@
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"sharp"
|
|
- ]
|
|
+ ],
|
|
+ "patchedDependencies": {
|
|
+ "next": "patches/next.patch"
|
|
+ }
|
|
}
|
|
}
|
|
diff --git c/patches/next.patch i/patches/next.patch
|
|
new file mode 100644
|
|
index 00000000..52266e70
|
|
--- /dev/null
|
|
+++ i/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 0b6b2b30f29fbe60eec331c83f81b712c61f18b7..36572d52414927b2b092182c19940ec23cfec313 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 {
|
|
+ constructor(ctx){
|
|
+ this.fs = ctx.fs;
|
|
+ this.flushToDisk = ctx.flushToDisk;
|
|
+- this.serverDistDir = ctx.serverDistDir;
|
|
++ this.serverDistDir = require("path").join((process.env.NIXPKGS_HOMEPAGE_CACHE_DIR || "/var/cache/homepage-dashboard"), "homepage");
|
|
+ this.revalidatedTags = ctx.revalidatedTags;
|
|
+ if (ctx.maxMemoryCacheSize) {
|
|
+ if (!FileSystemCache.memoryCache) {
|
|
diff --git c/pnpm-lock.yaml i/pnpm-lock.yaml
|
|
index c7887131..55604102 100644
|
|
--- c/pnpm-lock.yaml
|
|
+++ i/pnpm-lock.yaml
|
|
@@ -4,6 +4,11 @@ settings:
|
|
autoInstallPeers: true
|
|
excludeLinksFromLockfile: false
|
|
|
|
+patchedDependencies:
|
|
+ next:
|
|
+ hash: ec4324097eadbe8364e1a29668eeea85c2b267b7028a2be86a59a926fbd46666
|
|
+ path: patches/next.patch
|
|
+
|
|
importers:
|
|
|
|
.:
|
|
@@ -52,10 +57,10 @@ importers:
|
|
version: 1.2.2
|
|
next:
|
|
specifier: ^15.4.5
|
|
- version: 15.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
+ version: 15.4.5(patch_hash=ec4324097eadbe8364e1a29668eeea85c2b267b7028a2be86a59a926fbd46666)(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.4.5(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.4.5(patch_hash=ec4324097eadbe8364e1a29668eeea85c2b267b7028a2be86a59a926fbd46666)(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
|
|
@@ -5060,7 +5065,7 @@ snapshots:
|
|
|
|
natural-compare@1.4.0: {}
|
|
|
|
- next-i18next@12.1.0(next@15.4.5(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.4.5(patch_hash=ec4324097eadbe8364e1a29668eeea85c2b267b7028a2be86a59a926fbd46666)(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
|
|
@@ -5068,14 +5073,14 @@ snapshots:
|
|
hoist-non-react-statics: 3.3.2
|
|
i18next: 21.10.0
|
|
i18next-fs-backend: 1.2.0
|
|
- next: 15.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
|
+ next: 15.4.5(patch_hash=ec4324097eadbe8364e1a29668eeea85c2b267b7028a2be86a59a926fbd46666)(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.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
|
+ next@15.4.5(patch_hash=ec4324097eadbe8364e1a29668eeea85c2b267b7028a2be86a59a926fbd46666)(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
|
|
dependencies:
|
|
'@next/env': 15.4.5
|
|
'@swc/helpers': 0.5.15
|