···233233 and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream.
234234 The `vscode-langservers-extracted` package is a maintained drop-in replacement.
235235236236+- `nodePackages.prisma` has been replaced by `prisma`.
237237+236238- `fetchNextcloudApp` has been rewritten to use `fetchurl` rather than
237239 `fetchzip`. This invalidates all existing hashes but you can restore the old
238240 behavior by passing it `unpack = true`.
+4-2
pkgs/applications/office/documenso/default.nix
···11{ lib
22, fetchFromGitHub
33, buildNpmPackage
44-, nodePackages
44+, prisma
55, nix-update-script
66}:
77let
···1818 hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo=";
1919 };
20202121+ nativeBuildInputs = [ prisma ];
2222+2123 preBuild = ''
2224 # somehow for linux, npm is not finding the prisma package with the
2325 # packages installed with the lockfile.
2426 # This generates a prisma version incompatibility warning and is a kludge
2527 # until the upstream package-lock is modified.
2626- ${nodePackages.prisma}/bin/prisma generate
2828+ prisma generate
2729 '';
28302931 npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E=";
···99, stdenv
1010}:
11111212-# Updating this package will force an update for nodePackages.prisma. The
1313-# version of prisma-engines and nodePackages.prisma must be the same for them to
1212+# Updating this package will force an update for prisma. The
1313+# version of prisma-engines and prisma must be the same for them to
1414# function correctly.
1515rustPlatform.buildRustPackage rec {
1616 pname = "prisma-engines";
···8989# Here's an example application using Prisma with Nix: https://github.com/pimeys/nix-prisma-example
9090# At example's `flake.nix` shellHook, notice the requirement of defining environment variables for prisma, it's values will show on `prisma --version`.
9191# Read the example's README: https://github.com/pimeys/nix-prisma-example/blob/main/README.md
9292-# Prisma requires 2 packages, `prisma-engines` and `nodePackages.prisma`, to be at *exact* same versions.
9292+# Prisma requires 2 packages, `prisma-engines` and `prisma`, to be at *exact* same versions.
9393# Certify at `package.json` that dependencies "@prisma/client" and "prisma" are equal, meaning no caret (`^`) in version.
9494# Configure NPM to use exact version: `npm config set save-exact=true`
9595# Delete `package-lock.json`, delete `node_modules` directory and run `npm install`.