Unverified Commit 2ee71ec9 authored by Thierry Delafontaine's avatar Thierry Delafontaine
Browse files

models-dev: move patches to top-level deviration

Fixes 2743ffc3
parent afb89db0
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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