Unverified Commit 62928f55 authored by Diogo Correia's avatar Diogo Correia
Browse files

prisma-engines_{6,7}: use finalAttrs construct

parent 25dcf113
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -10,14 +10,14 @@
# Updating this package will force an update for prisma. The
# version of prisma-engines and prisma must be the same for them to
# function correctly.
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "prisma-engines_6";
  version = "6.19.1";

  src = fetchFromGitHub {
    owner = "prisma";
    repo = "prisma-engines";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-z3GdnrLEMJIGPKXXbz2wrbiGpuNlgYxqg3iYINYTnPI=";
  };

@@ -70,7 +70,7 @@ rustPlatform.buildRustPackage rec {
      aqrln
    ];
  };
}
})

### Troubleshooting
# Here's an example application using Prisma with Nix: https://github.com/pimeys/nix-prisma-example
+3 −3
Original line number Diff line number Diff line
@@ -9,14 +9,14 @@
# Updating this package will force an update for prisma. The
# version of prisma-engines and prisma must be the same for them to
# function correctly.
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "prisma-engines_7";
  version = "7.2.0";

  src = fetchFromGitHub {
    owner = "prisma";
    repo = "prisma-engines";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-1CwpUtNuqxGNjBmmmo/Aet8XrmnCQfDToI7vZaNupDI=";
  };

@@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec {
      aqrln
    ];
  };
}
})

### Troubleshooting
# Here's an example application using Prisma with Nix: https://github.com/pimeys/nix-prisma-example