Skip to content

[25.11] prisma_7, prisma-engines_7: init at 7.2.0 - #492116

Merged
happysalada merged 13 commits into
NixOS:release-25.11from
diogotcorreia:prisma-7-to-release-25.11
Feb 20, 2026
Merged

happysalada merged 13 commits into
NixOS:release-25.11from
diogotcorreia:prisma-7-to-release-25.11

Conversation

@diogotcorreia

@diogotcorreia diogotcorreia commented Feb 19, 2026 •

Copy link
Copy Markdown
Member

Backport of:

This adds a prisma alias pointing to prisma_6 (in contrast with master, which points to prisma_7).

Backport briefly discussed here: #472380 (comment)

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@github-actions github-actions Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Difference between be6a7cb and original d677ffb may warrant inspection.

Show diff
@@ Metadata
  ## Commit message ##
     treewide: rename `prisma` -> `prisma_6`, `prisma-engines` -> `prisma-engines_6`
 
+    (cherry picked from commit d677ffb53ae66e3494146bc45e90a3defd28d07e)
+
  ## pkgs/by-name/do/documenso/package.nix ##
 @@
    pixman,
@@ pkgs/by-name/gh/ghostfolio/package.nix
  
  buildNpmPackage rec {
 @@ pkgs/by-name/gh/ghostfolio/package.nix: buildNpmPackage rec {
-   npmDepsHash = "sha256-KSKqybqVw2BG/WKuVRyNsneLYyedVeyCvNBLIREx7MQ=";
+   npmDepsHash = "sha256-EMLQUZaL6u5jsOgBa67bivUHItJo8JeGZLbIq6tJdgE=";
  
    nativeBuildInputs = [
 -    prisma
@@ pkgs/by-name/li/linkwarden/package.nix: stdenvNoCC.mkDerivation (finalAttrs: {
      nodejs
 -    prisma
 +    prisma_6
-     yarnConfigHook
+     yarn-berry
+     yarn-berry.yarnBerryConfigHook
    ];
- 
 @@ pkgs/by-name/li/linkwarden/package.nix: stdenvNoCC.mkDerivation (finalAttrs: {
  
    preBuild = ''
@@ pkgs/by-name/pr/prisma-engines/package.nix => pkgs/by-name/pr/prisma-engines_6/p
  rustPlatform.buildRustPackage rec {
 -  pname = "prisma-engines";
 +  pname = "prisma-engines_6";
-   version = "6.19.0";
+   version = "6.18.0";
  
    src = fetchFromGitHub {
 
@@ pkgs/by-name/pr/prisma/package.nix => pkgs/by-name/pr/prisma_6/package.nix
  stdenv.mkDerivation (finalAttrs: {
 -  pname = "prisma";
 +  pname = "prisma_6";
-   version = "6.19.0";
+   version = "6.18.0";
  
    src = fetchFromGitHub {
 @@ pkgs/by-name/pr/prisma_6/package.nix: stdenv.mkDerivation (finalAttrs: {
@@ pkgs/by-name/zi/zipline/package.nix: stdenv.mkDerivation (finalAttrs: {
      updateScript = nix-update-script { };
    };
 
- ## pkgs/development/node-packages/aliases.nix ##
-@@ pkgs/development/node-packages/aliases.nix: mapAliases {
-   inherit (pkgs) prettier; # added 2025-05-31
-   prettier_d_slim = pkgs.prettier-d-slim; # added 2023-09-14
-   prettier-plugin-toml = throw "prettier-plugin-toml was removed because it provides no executable"; # added 2025-03-23
--  inherit (pkgs) prisma; # added 2024-08-31
-+  inherit (pkgs) prisma_6; # added 2024-08-31
-   pscid = throw "'pscid' has been removed because it was unmaintained upstream"; # Added 2025-12-07
-   pulp = throw "'pulp' has been removed because it was unmaintained upstream"; # Added 2025-12-07
-   purescript-language-server = throw "'purescript-language-server' has been removed because it was unmaintained within nixpkgs"; # Added 2025-12-12
+ ## pkgs/servers/web-apps/pingvin-share/backend.nix ##
+@@
+   buildNpmPackage,
+   vips,
+   pkg-config,
+-  prisma,
++  prisma_6,
+   src,
+   version,
+   nixosTests,
+@@ pkgs/servers/web-apps/pingvin-share/backend.nix: buildNpmPackage {
+   buildInputs = [ vips ];
+   nativeBuildInputs = [
+     pkg-config
+-    prisma
++    prisma_6
+   ];
+ 
+   npmDepsHash = "sha256-bc2suSGa7YTonIhUxEtNzdIUeUBubwJ6upW2tydVCnU=";
+
+ ## pkgs/top-level/aliases.nix ##
+@@ pkgs/top-level/aliases.nix: mapAliases {
+   preload = throw "'preload' has been removed due to lack of usage and being broken since its introduction into nixpkgs"; # Added 2025-11-29
+   presage = throw "presage has been removed, as it has been unmaintained since 2018"; # Added 2025-06-19
+   preserves-nim = throw "'preserves-nim' has been removed due to a hostile upstream moving tags and breaking src FODs"; # Added 2025-09-01
++  prisma = prisma_6; # Added 2026-02-19
++  prisma-engines = prisma-engines_6; # Added 2026-02-19
+   private-gpt = throw "'private-gpt' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2025-07-28
+   probe-rs = throw "'probe-rs' has been renamed to/replaced by 'probe-rs-tools'"; # Converted to throw 2025-10-27
+   proj_7 = throw "proj_7 has been removed, as it was broken and unused"; # Added 2025-09-16

Warning

Difference between 34e23c6 and original 36b3049 may warrant inspection.

Show diff
@@ Metadata
 Author: Jon Seager <[email protected]>
 
  ## Commit message ##
-    prisma, prisma-engines: 6.19.0 -> 7.0.1
+    prisma_7, prisma-engines_7: init at 7.0.1
+
+    (cherry picked from commit 36b304952f8657f599480b6464a644d65515c8ac)
 
  ## pkgs/by-name/pr/prisma-engines_7/package.nix (new) ##
 @@
@@ pkgs/by-name/pr/prisma_7/test-cli.nix (new)
 +    # Introspect the database
 +    prisma db pull > /dev/null
 +  ''
-
- ## pkgs/development/node-packages/aliases.nix ##
-@@ pkgs/development/node-packages/aliases.nix: mapAliases {
-   inherit (pkgs) prettier; # added 2025-05-31
-   prettier_d_slim = pkgs.prettier-d-slim; # added 2023-09-14
-   prettier-plugin-toml = throw "prettier-plugin-toml was removed because it provides no executable"; # added 2025-03-23
--  inherit (pkgs) prisma_6; # added 2024-08-31
-+  inherit (pkgs) prisma; # added 2024-08-31
-   pscid = throw "'pscid' has been removed because it was unmaintained upstream"; # Added 2025-12-07
-   pulp = throw "'pulp' has been removed because it was unmaintained upstream"; # Added 2025-12-07
-   purescript-language-server = throw "'purescript-language-server' has been removed because it was unmaintained within nixpkgs"; # Added 2025-12-12
-
- ## pkgs/top-level/aliases.nix ##
-@@ pkgs/top-level/aliases.nix: mapAliases {
-   preload = throw "'preload' has been removed due to lack of usage and being broken since its introduction into nixpkgs"; # Added 2025-11-29
-   presage = throw "presage has been removed, as it has been unmaintained since 2018"; # Added 2025-06-19
-   preserves-nim = throw "'preserves-nim' has been removed due to a hostile upstream moving tags and breaking src FODs"; # Added 2025-09-01
-+  prisma = prisma_7; # Added 2025-12-19
-+  prisma-engines = prisma-engines_7; # Added 2025-12-19
-   private-gpt = throw "'private-gpt' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2025-07-28
-   probe-rs = throw "'probe-rs' has been renamed to/replaced by 'probe-rs-tools'"; # Converted to throw 2025-10-27
-   proj_7 = throw "proj_7 has been removed, as it was broken and unused"; # Added 2025-09-16

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@diogotcorreia diogotcorreia mentioned this pull request Feb 19, 2026
2 of 13 tasks
jnsgruk and others added 13 commits February 19, 2026 14:50
Later versions of Prisma 6 seem to require internet
access on the first run of `prisma init` to fetch
updates to the subcommand.

This fails in the test environment, but since we
are already sketching out the test schema structure
manually, we can drop that in favour of just creating
the prisma/ directory.

(cherry picked from commit 43c53fd)
@diogotcorreia
diogotcorreia force-pushed the prisma-7-to-release-25.11 branch from e8a434e to 3b2f6ad Compare February 19, 2026 14:56
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 4.workflow: backport This targets a stable branch labels Feb 19, 2026
@jnsgruk

jnsgruk commented Feb 19, 2026

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 492116
Commit: 3b2f6ad700b8830341bbf064667c6407ddc89738


x86_64-linux

❌ 1 package failed to build:
  • pingvin-share.backend
✅ 9 packages built:
  • documenso
  • ghostfolio
  • linkwarden
  • prisma-engines_6
  • prisma-engines_7
  • prisma_6
  • prisma_7
  • umami
  • zipline

Error logs: `x86_64-linux`
pingvin-share.backend
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing npmBuildHook
warn The configuration property `package.json#prisma` is deprecated and will be removed in Prisma 7. Please migrate to a Prisma config file (e.g., `prisma.config.ts`).
For more information, see: https://pris.ly/prisma-config

prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.
Environment variables loaded from prisma/.env
prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.
Prisma schema loaded from prisma/schema.prisma
Error:
Cannot find module '/build/backend/node_modules/@prisma/client/runtime/query_engine_bg.sqlite.wasm-base64.js'
Require stack:

  • /nix/store/2rbjia99cy8iz1x2fga3f54svv17ky16-prisma_6-6.18.0/lib/prisma/packages/cli/build/index.js

@jnsgruk

jnsgruk commented Feb 19, 2026

Copy link
Copy Markdown
Member

Overall this looks good to me -- in so far as it seems like a straightforward port of recent work done in unstable.

Note that there is a build failure for pingvin-share.backend - though I haven't checked to see if that is as a result of this change (cc @RatCornu)

@diogotcorreia

diogotcorreia commented Feb 19, 2026 •

Copy link
Copy Markdown
Member Author

@jnsgruk I'm still running nixpkgs-review locally, but pingvin-share has been removed in unstable and is currently failing in hydra for 25.11, so seems unrelated: https://hydra.nixos.org/job/nixos/release-25.11/nixpkgs.pingvin-share.backend.x86_64-linux

EDIT:

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 492116
Commit: 3b2f6ad700b8830341bbf064667c6407ddc89738


x86_64-linux

❌ 1 package failed to build:
  • pingvin-share.backend
✅ 9 packages built:
  • documenso
  • ghostfolio
  • linkwarden
  • prisma-engines_6
  • prisma-engines_7
  • prisma_6
  • prisma_7
  • umami
  • zipline

Error logs: `x86_64-linux`
pingvin-share.backend
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing npmBuildHook
warn The configuration property `package.json#prisma` is deprecated and will be removed in Prisma 7. Please migrate to a Prisma config file (e.g., `prisma.config.ts`).
For more information, see: https://pris.ly/prisma-config

prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.
prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.
Environment variables loaded from prisma/.env
Prisma schema loaded from prisma/schema.prisma
Error:
Cannot find module '/build/backend/node_modules/@prisma/client/runtime/query_engine_bg.sqlite.wasm-base64.js'
Require stack:

  • /nix/store/2rbjia99cy8iz1x2fga3f54svv17ky16-prisma_6-6.18.0/lib/prisma/packages/cli/build/index.js

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 19, 2026
@RatCornu

Copy link
Copy Markdown
Contributor

Yeah pingvin-share has been dropped in december so I don't think you need to take it into account

@diogotcorreia

Copy link
Copy Markdown
Member Author

@happysalada Did you mean to merge this? I believe the bot's review needs to be dismissed first 😅

@happysalada
happysalada added this pull request to the merge queue Feb 20, 2026
Merged via the queue into NixOS:release-25.11 with commit 47dc644 Feb 20, 2026
32 of 34 checks passed
@diogotcorreia
diogotcorreia deleted the prisma-7-to-release-25.11 branch February 20, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants