Unverified Commit 78c33f2b authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

pnpm_10: init at 10.0.0 (#371832)

parents 060e15c0 a619bff4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -184,6 +184,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.
+3 −3
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
, copyDesktopItems
, electron
, nodejs
, pnpm
, pnpm_9
, makeDesktopItem
, autoSignDarwinBinariesHook
, nix-update-script
@@ -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=";
  };
@@ -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 [
+3 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  buildGoModule,
  lib,
  fetchFromGitHub,
  pnpm,
  pnpm_9,
  nodejs,
  fetchpatch,
  stdenv,
@@ -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
    ];

+3 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  pnpm,
  pnpm_9,
  nodejs_22,
}:

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

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

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

  buildInputs = [ nodejs_22 ];
+3 −3
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  version,
  src,
  pname,
  pnpm,
  pnpm_9,
  nodejs,
  stdenv,
  meta,
@@ -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 = ''
Loading