models-dev: move patches to top-level deviration

Fixes 2743ffc346a1c51b66feec0574f1a3f7e8cff76a
This commit is contained in:
Thierry Delafontaine 2025-07-31 10:51:27 +02:00
parent afb89db07b
commit 2ee71ec9a1
No known key found for this signature in database
GPG Key ID: 00926686981863CB

View File

@ -41,13 +41,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
dontConfigure = true;
patches = [
# In bun 1.2.13 (release-25.05) HTML entrypoints get content hashes
# appended → index.html becomes index-pq8vj7za.html in ./dist. So, we
# rename the index file back to index.html
./post-build-rename-index-file.patch
];
buildPhase = ''
runHook preBuild
@ -80,6 +73,13 @@ stdenvNoCC.mkDerivation (finalAttrs: {
nativeBuildInputs = [ bun ];
patches = [
# In bun 1.2.13 (release-25.05) HTML entrypoints get content hashes
# appended → index.html becomes index-pq8vj7za.html in ./dist. So, we
# rename the index file back to index.html
./post-build-rename-index-file.patch
];
configurePhase = ''
runHook preConfigure