models-dev: move patches to top-level deviration
Fixes 2743ffc346a1c51b66feec0574f1a3f7e8cff76a
This commit is contained in:
parent
afb89db07b
commit
2ee71ec9a1
@ -41,13 +41,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
dontConfigure = true;
|
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 = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
@ -80,6 +73,13 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
nativeBuildInputs = [ bun ];
|
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 = ''
|
configurePhase = ''
|
||||||
runHook preConfigure
|
runHook preConfigure
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user