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

This commit is contained in:
Diogo Correia
2026-01-01 19:17:49 +00:00
parent 25dcf113c8
commit 62928f5547
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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