prisma: 6.0.1 -> 6.3.0
prisma-engines: 6.0.1 -> 6.2.1 Update pkgs/development/tools/database/prisma-engines/default.nix Co-authored-by: Alexey Orlenko <alex@aqrln.net> style: nixfmt prisma,prisma-engines: 6.2.1->6.3.0
This commit is contained in:
parent
9e4d5190a9
commit
25da5a11a6
@ -337,7 +337,7 @@
|
||||
add `vimPlugins.notmuch-vim` to your (Neo)vim configuration if you want the
|
||||
vim plugin.
|
||||
|
||||
- `prisma` and `prisma-engines` have been updated to version 6.0.1, which
|
||||
- `prisma` and `prisma-engines` have been updated to version 6.3.0, which
|
||||
introduces several breaking changes. See the
|
||||
[Prisma ORM upgrade guide](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6)
|
||||
for more information.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
nodejs,
|
||||
pnpm_8,
|
||||
pnpm_9,
|
||||
prisma-engines,
|
||||
jq,
|
||||
makeWrapper,
|
||||
@ -13,26 +13,26 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "prisma";
|
||||
version = "6.0.1";
|
||||
version = "6.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prisma";
|
||||
repo = "prisma";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-mwGFuJLry2WvwLclRw+ulMVgp8tfZbhzrdgKjQ4D7LE=";
|
||||
hash = "sha256-Buu+E0xxjcrPOyEHkQTp7IVS9kymmR1PTegeOXxb2PA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpm_8.configHook
|
||||
pnpm_9.configHook
|
||||
jq
|
||||
makeWrapper
|
||||
moreutils
|
||||
];
|
||||
|
||||
pnpmDeps = pnpm_8.fetchDeps {
|
||||
pnpmDeps = pnpm_9.fetchDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-fOg32w/fQkyn8HBMffUKob7XzOQLtsB642pDdEz/y2E=";
|
||||
hash = "sha256-rAEUkk3uWVuUDrSRz6d2Ewr3vi4rzYmO0yLTCl21qZ4=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# Remove unnecessary external dependencies
|
||||
rm -rf node_modules
|
||||
pnpm install --offline --ignore-scripts --frozen-lockfile --prod --filter ./packages/cli
|
||||
pnpm install --offline --ignore-scripts --frozen-lockfile --prod
|
||||
cp -r node_modules $out/lib/prisma
|
||||
|
||||
# Only install cli and its workspace dependencies
|
||||
|
||||
@ -13,27 +13,24 @@
|
||||
# function correctly.
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "prisma-engines";
|
||||
version = "6.0.1";
|
||||
version = "6.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prisma";
|
||||
repo = "prisma-engines";
|
||||
rev = version;
|
||||
hash = "sha256-wrhOUUF3N0JvDxcqypL7q+B7SwAfLq9M0Zqs86jnB/M=";
|
||||
hash = "sha256-gQLDskabTaNk19BJi9Kv4TiEfVck2QZ7xdhopt5KH6M=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-l5b7TcVgnTdUsUncvfJYBcmh0xhF3fMfoCx0cyjpJ8Y=";
|
||||
cargoHash = "sha256-GLOGivOH8psE5/M5kYakh9Cab4Xe5Q8isY1c6YDyAB8=";
|
||||
|
||||
# Use system openssl.
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
protobuf
|
||||
];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
preBuild = ''
|
||||
export OPENSSL_DIR=${lib.getDev openssl}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user