Unverified Commit 56beea2a authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

models-dev: 0-unstable-2025-07-30 -> 0-unstable-2025-07-31 (#429782)

parents fbd425f9 5b54c60b
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -17,12 +17,12 @@ let
in
stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "models-dev";
  version = "0-unstable-2025-07-30";
  version = "0-unstable-2025-07-31";
  src = fetchFromGitHub {
    owner = "sst";
    repo = "models.dev";
    rev = "2bc25f1c57a61c0bcb29e4a7ed331be332991c15";
    hash = "sha256-xCYu8AsTtH9ZVhFZ/sxukj92RSwZGmeQRE3COmiRqI4=";
    rev = "60f2d80bc087ded768a8c6c36981f43822871c78";
    hash = "sha256-mE+ptgTETbF/QIhMwOOVkbT9Jeus8ceGbninagPqgeU=";
  };

  node_modules = stdenvNoCC.mkDerivation {
@@ -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