Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm_10: init at 10.0.0 #371832

Merged
merged 2 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@

- `linuxPackages.nvidiaPackages.dc_520` has been removed since it is marked broken and there are better newer alternatives.

- `pnpm` was updated to version 10. If your project is incompatible, you can install the previous version from the package attribute `pnpm_9`.

- `programs.less.lessopen` is now null by default. To restore the previous behaviour, set it to `''|${lib.getExe' pkgs.lesspipe "lesspipe.sh"} %s''`.

- `hardware.pulseaudio` has been renamed to `services.pulseaudio`. The deprecated option names will continue to work, but causes a warning.
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/virtualization/podman-desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
, copyDesktopItems
, electron
, nodejs
, pnpm
, pnpm_9
, makeDesktopItem
, autoSignDarwinBinariesHook
, nix-update-script
Expand All @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-07lf9jy22JUT+Vc5y9Tu1nkWaXU5RTdu3GibcvQsSs8=";
};

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-LPsNRd1c/cQeyBn3LZKnKeAsZ981sOkLYTnXIZL82LA=";
};
Expand All @@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
ELECTRON_SKIP_BINARY_DOWNLOAD = "1";

nativeBuildInputs = [
makeWrapper nodejs pnpm.configHook
makeWrapper nodejs pnpm_9.configHook
] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
copyDesktopItems
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/ap/apache-answer/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildGoModule,
lib,
fetchFromGitHub,
pnpm,
pnpm_9,
nodejs,
fetchpatch,
stdenv,
Expand All @@ -25,14 +25,14 @@ buildGoModule rec {

sourceRoot = "${src.name}/ui";

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit src version pname;
sourceRoot = "${src.name}/ui";
hash = "sha256-/se6IWeHdazqS7PzOpgtT4IxCJ1WptqBzZ/BdmGb4BA=";
};

nativeBuildInputs = [
pnpm.configHook
pnpm_9.configHook
nodejs
];

Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/as/astro-language-server/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
pnpm,
pnpm_9,
nodejs_22,
}:

Expand All @@ -17,7 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-NBLUeg1WqxTXtu8eg1fihQSfm8koYAEWhfXAj/fIdC8=";
};

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs)
pname
version
Expand All @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {

nativeBuildInputs = [
nodejs_22
pnpm.configHook
pnpm_9.configHook
];

buildInputs = [ nodejs_22 ];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/cl/clash-verge-rev/webui.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version,
src,
pname,
pnpm,
pnpm_9,
nodejs,
stdenv,
meta,
Expand All @@ -11,14 +11,14 @@
stdenv.mkDerivation {
inherit version src meta;
pname = "${pname}-webui";
pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
hash = npm-hash;
};

nativeBuildInputs = [
nodejs
pnpm.configHook
pnpm_9.configHook
];

postPatch = ''
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/da/daed/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
pnpm,
pnpm_9,
nodejs,
stdenv,
clang,
Expand All @@ -22,14 +22,14 @@ let
web = stdenv.mkDerivation {
inherit pname version src;

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
hash = "sha256-vqkiZzd5WOeJem0zUyMsJd6/aHHAjlsIQMkNf+SUvHY=";
};

nativeBuildInputs = [
nodejs
pnpm.configHook
pnpm_9.configHook
];

buildPhase = ''
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/fl/flood/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, buildNpmPackage
, fetchFromGitHub
, nixosTests
, pnpm
, pnpm_9
, nix-update-script
}:

Expand All @@ -17,9 +17,9 @@ buildNpmPackage rec {
hash = "sha256-lm+vPo7V99OSUAVEvdiTNMlD/+iHGPIyPLc1WzO1aTU=";
};

npmConfigHook = pnpm.configHook;
npmConfigHook = pnpm_9.configHook;
npmDeps = pnpmDeps;
pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
hash = "sha256-NuU9O3bEboxmuEuk1WSUeZRNgVK5cwFiUAN3+7vACGw=";
};
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/fo/follow/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
makeDesktopItem,
makeWrapper,
nodejs,
pnpm,
pnpm_9,
stdenv,
}:
stdenv.mkDerivation rec {
Expand All @@ -23,12 +23,12 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [
nodejs
pnpm.configHook
pnpm_9.configHook
makeWrapper
imagemagick
];

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
hash = "sha256-FzMjN0rIjYxexf6tix4qi3mnuPkadjKihhN0Pj5y2nU=";
};
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/fr/froide/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
makeWrapper,
gdal,
geos,
pnpm,
pnpm_9,
nodejs,
postgresql,
postgresqlTestHook,
Expand Down Expand Up @@ -42,7 +42,7 @@ python.pkgs.buildPythonApplication rec {
nativeBuildInputs = [
makeWrapper
nodejs
pnpm.configHook
pnpm_9.configHook
];

dependencies = with python.pkgs; [
Expand Down Expand Up @@ -99,7 +99,7 @@ python.pkgs.buildPythonApplication rec {
websockets
];

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
hash = "sha256-DMoaXNm5S64XBERHFnFM6IKBkzXRGDEYWSTruccK9Hc=";
};
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/gi/gitify/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
pnpm,
pnpm_9,
nodejs,
electron,
makeDesktopItem,
Expand All @@ -25,13 +25,13 @@ stdenv.mkDerivation (finalAttrs: {

nativeBuildInputs = [
nodejs
pnpm.configHook
pnpm_9.configHook
copyDesktopItems
imagemagick
makeWrapper
];

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-I78AvOBdDd59eVJJ51xxNwVvMnNvLdJJpFEtE/I1H8U=";
};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/go/goofcord/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
pnpm,
pnpm_9,
nodejs_22,
nix-update-script,
electron,
Expand All @@ -14,7 +14,7 @@
}:

let
pnpm' = pnpm.override { nodejs = nodejs_22; };
pnpm' = pnpm_9.override { nodejs = nodejs_22; };
in
stdenv.mkDerivation (finalAttrs: {
pname = "goofcord";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/gu/gui-for-clash/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
stdenv,
nodejs,
pnpm,
pnpm_9,
fetchFromGitHub,
buildGoModule,
lib,
Expand Down Expand Up @@ -30,10 +30,10 @@ let

nativeBuildInputs = [
nodejs
pnpm.configHook
pnpm_9.configHook
];

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
sourceRoot = "${finalAttrs.src.name}/frontend";
hash = "sha256-mG8b16PP876EyaX3Sc4WM41Yc/oDGZDiilZPaxPvvuQ=";
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/gu/gui-for-singbox/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
stdenv,
nodejs,
pnpm,
pnpm_9,
fetchFromGitHub,
buildGoModule,
lib,
Expand Down Expand Up @@ -30,10 +30,10 @@ let

nativeBuildInputs = [
nodejs
pnpm.configHook
pnpm_9.configHook
];

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
sourceRoot = "${finalAttrs.src.name}/frontend";
hash = "sha256-dLI1YMzs9lLk9lJBkBgc6cpirM79khy0g5VaOVEzUAc=";
Expand Down
8 changes: 4 additions & 4 deletions pkgs/by-name/ho/homebox/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
buildGo123Module,
fetchFromGitHub,
pnpm,
pnpm_9,
nodejs,
go_1_23,
git,
Expand Down Expand Up @@ -35,7 +35,7 @@ buildGo123Module {
preBuild = "";
};

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version;
src = "${src}/frontend";
hash = "sha256-x7sWSH84UJEXNRLCgEgXc4NrTRsn6OplANi+XGtIN9Y=";
Expand All @@ -56,8 +56,8 @@ buildGo123Module {
'';

nativeBuildInputs = [
pnpm
pnpm.configHook
pnpm_9
pnpm_9.configHook
nodejs
];

Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/ho/homer/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
stdenvNoCC,
fetchFromGitHub,
pnpm,
pnpm_9,
nodejs,
dart-sass,
nix-update-script,
Expand All @@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation rec {
hash = "sha256-nOhovVqWlHPunwruJrgqFhhDxccKBp/iEyB3Y3C5Cz8=";
};

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit
pname
version
Expand All @@ -33,7 +33,7 @@ stdenvNoCC.mkDerivation rec {
nativeBuildInputs = [
nodejs
dart-sass
pnpm.configHook
pnpm_9.configHook
];

buildPhase = ''
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/le/legcord/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
pnpm,
pnpm_9,
nodejs,
electron_32,
makeWrapper,
Expand All @@ -22,13 +22,13 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [
pnpm.configHook
pnpm_9.configHook
nodejs
makeWrapper
copyDesktopItems
];

pnpmDeps = pnpm.fetchDeps {
pnpmDeps = pnpm_9.fetchDeps {
inherit pname version src;
hash = "sha256-QTePf/QE85OzXIcnwLJsCJJyRxwoV+FNef2Z9nAt35E=";
};
Expand Down
Loading
Loading