···233 and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream.
234 The `vscode-langservers-extracted` package is a maintained drop-in replacement.
23500236- `fetchNextcloudApp` has been rewritten to use `fetchurl` rather than
237 `fetchzip`. This invalidates all existing hashes but you can restore the old
238 behavior by passing it `unpack = true`.
···233 and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream.
234 The `vscode-langservers-extracted` package is a maintained drop-in replacement.
235236+- `nodePackages.prisma` has been replaced by `prisma`.
237+238- `fetchNextcloudApp` has been rewritten to use `fetchurl` rather than
239 `fetchzip`. This invalidates all existing hashes but you can restore the old
240 behavior by passing it `unpack = true`.
+4-2
pkgs/applications/office/documenso/default.nix
···1{ lib
2, fetchFromGitHub
3, buildNpmPackage
4-, nodePackages
5, nix-update-script
6}:
7let
···18 hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo=";
19 };
200021 preBuild = ''
22 # somehow for linux, npm is not finding the prisma package with the
23 # packages installed with the lockfile.
24 # This generates a prisma version incompatibility warning and is a kludge
25 # until the upstream package-lock is modified.
26- ${nodePackages.prisma}/bin/prisma generate
27 '';
2829 npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E=";
···1{ lib
2, fetchFromGitHub
3, buildNpmPackage
4+, prisma
5, nix-update-script
6}:
7let
···18 hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo=";
19 };
2021+ nativeBuildInputs = [ prisma ];
22+23 preBuild = ''
24 # somehow for linux, npm is not finding the prisma package with the
25 # packages installed with the lockfile.
26 # This generates a prisma version incompatibility warning and is a kludge
27 # until the upstream package-lock is modified.
28+ prisma generate
29 '';
3031 npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E=";
···9, stdenv
10}:
1112-# Updating this package will force an update for nodePackages.prisma. The
13-# version of prisma-engines and nodePackages.prisma must be the same for them to
14# function correctly.
15rustPlatform.buildRustPackage rec {
16 pname = "prisma-engines";
···89# Here's an example application using Prisma with Nix: https://github.com/pimeys/nix-prisma-example
90# At example's `flake.nix` shellHook, notice the requirement of defining environment variables for prisma, it's values will show on `prisma --version`.
91# Read the example's README: https://github.com/pimeys/nix-prisma-example/blob/main/README.md
92-# Prisma requires 2 packages, `prisma-engines` and `nodePackages.prisma`, to be at *exact* same versions.
93# Certify at `package.json` that dependencies "@prisma/client" and "prisma" are equal, meaning no caret (`^`) in version.
94# Configure NPM to use exact version: `npm config set save-exact=true`
95# Delete `package-lock.json`, delete `node_modules` directory and run `npm install`.
···9, stdenv
10}:
1112+# Updating this package will force an update for prisma. The
13+# version of prisma-engines and prisma must be the same for them to
14# function correctly.
15rustPlatform.buildRustPackage rec {
16 pname = "prisma-engines";
···89# Here's an example application using Prisma with Nix: https://github.com/pimeys/nix-prisma-example
90# At example's `flake.nix` shellHook, notice the requirement of defining environment variables for prisma, it's values will show on `prisma --version`.
91# Read the example's README: https://github.com/pimeys/nix-prisma-example/blob/main/README.md
92+# Prisma requires 2 packages, `prisma-engines` and `prisma`, to be at *exact* same versions.
93# Certify at `package.json` that dependencies "@prisma/client" and "prisma" are equal, meaning no caret (`^`) in version.
94# Configure NPM to use exact version: `npm config set save-exact=true`
95# Delete `package-lock.json`, delete `node_modules` directory and run `npm install`.