Unverified Commit 67d52968 authored by Felix Bargfeldt's avatar Felix Bargfeldt Committed by GitHub
Browse files

zipline: pin prisma-engines to 6.5.0 (#402571)

parents e391f3d1 1c9f108c
Loading
Loading
Loading
Loading
+18 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  pnpm_9,
  nodejs,
  makeWrapper,
  prisma-engines,
  pkgs,
  ffmpeg,
  openssl,
  vips,
@@ -15,6 +15,22 @@
}:

let
  prisma-engines = pkgs.prisma-engines.overrideAttrs (
    finalAttrs: prevAttrs: {
      version = "6.5.0";
      src = fetchFromGitHub {
        inherit (prevAttrs.src) owner repo;
        rev = finalAttrs.version;
        hash = "sha256-m3LBIMIVMI5GlY0+QNw/nTlNWt2rGOZ28z+CfdP51cY=";
      };
      cargoHash = "sha256-yG+omKAS1eWq3sFgKXMoZWhTP4M34dVRes7OhhTUyTQ=";
      cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
        inherit (finalAttrs) pname version src;
        hash = finalAttrs.cargoHash;
      };
    }
  );

  environment = {
    NEXT_TELEMETRY_DISABLED = "1";
    FFMPEG_BIN = lib.getExe ffmpeg;
@@ -101,6 +117,7 @@ stdenv.mkDerivation (finalAttrs: {
  doInstallCheck = true;

  passthru = {
    inherit prisma-engines;
    tests = { inherit (nixosTests) zipline; };
    updateScript = nix-update-script { };
  };