From 0072ad32ecd847d7d86f253256d4902a058ff4c1 Mon Sep 17 00:00:00 2001 From: Diogo Correia Date: Fri, 12 Dec 2025 10:31:54 +0000 Subject: [PATCH 1/2] umami: 3.0.2 -> 3.0.3 --- pkgs/by-name/um/umami/package.nix | 6 +++--- pkgs/by-name/um/umami/sources.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/um/umami/package.nix b/pkgs/by-name/um/umami/package.nix index 9df179d015a1..9042e1e5d3d3 100644 --- a/pkgs/by-name/um/umami/package.nix +++ b/pkgs/by-name/um/umami/package.nix @@ -72,7 +72,7 @@ let in stdenvNoCC.mkDerivation (finalAttrs: { pname = "umami"; - version = "3.0.2"; + version = "3.0.3"; nativeBuildInputs = [ makeWrapper @@ -84,7 +84,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { owner = "umami-software"; repo = "umami"; tag = "v${finalAttrs.version}"; - hash = "sha256-6ega3ShfZlEnoFuFSh420hB8sp2qoJuAYnzeoOdpODs="; + hash = "sha256-rkOD52suE6bihJqKvMdIvqHRIcWhSxXzUkCfmdNbC40="; }; # install dev dependencies as well, for rollup @@ -98,7 +98,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { src ; fetcherVersion = 2; - hash = "sha256-zHpIqhxfvJ/so7bKvrGMqVGGnquJNnSI/0q3PE+VQ1Y="; + hash = "sha256-eXurT8kfVJcJoFunrt7h8LKuhsIhGrYDW6shvGA6GXY="; }; env.CYPRESS_INSTALL_BINARY = "0"; diff --git a/pkgs/by-name/um/umami/sources.json b/pkgs/by-name/um/umami/sources.json index 1f691d4d685b..48c653cabebc 100644 --- a/pkgs/by-name/um/umami/sources.json +++ b/pkgs/by-name/um/umami/sources.json @@ -1,7 +1,7 @@ { "geocities": { - "rev": "6ba4792cd60bfab42cab9ff0b0614106a6f98cb9", - "date": "2025-12-04", - "hash": "sha256-1NJbjXHk2jL18FTyN5CpWYIe1JO4bCqrgb/YTobDniY=" + "rev": "c311451d8c87eff88329f08a0fae5f84fc0303fe", + "date": "2025-12-11", + "hash": "sha256-tDK2p1VUmVfbzl0EhcGZbWP/1ao/U3f9vcK49f0MErc=" } } From 18d4826508002d316fa791f40eb3049b6d2ad568 Mon Sep 17 00:00:00 2001 From: Diogo Correia Date: Fri, 12 Dec 2025 11:44:41 +0000 Subject: [PATCH 2/2] umami: skip pnpmDeps from other platforms When fetching dependencies for all platforms (default for pnpm.fetchDeps) the pnpmDeps derivation size increases to over 4GiB, which is above the limit allowed by Hydra, failing the build there. This commit removes the `--force` flag when executing `pnpm install`, so only dependencies for the current platform are fetched and installed. --- pkgs/by-name/um/umami/package.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/um/umami/package.nix b/pkgs/by-name/um/umami/package.nix index 9042e1e5d3d3..e8c7c978287a 100644 --- a/pkgs/by-name/um/umami/package.nix +++ b/pkgs/by-name/um/umami/package.nix @@ -87,18 +87,24 @@ stdenvNoCC.mkDerivation (finalAttrs: { hash = "sha256-rkOD52suE6bihJqKvMdIvqHRIcWhSxXzUkCfmdNbC40="; }; - # install dev dependencies as well, for rollup - pnpmInstallFlags = [ "--prod=false" ]; - pnpmDeps = pnpm.fetchDeps { inherit (finalAttrs) pname - pnpmInstallFlags version src ; + # prevent downloading dependencies for windows + # which bloat derivation size and fail to build on hydra + # https://github.com/NixOS/nixpkgs/pull/467820#issuecomment-3624054271 + pnpmInstallFlags = [ + "--force=false" + "--os=linux" + "--os=darwin" + "--cpu=x64" + "--cpu=arm64" + ]; fetcherVersion = 2; - hash = "sha256-eXurT8kfVJcJoFunrt7h8LKuhsIhGrYDW6shvGA6GXY="; + hash = "sha256-bqeJ0wzCtnuR6V67Qe1N9UcaHPLziuBhsn7eN8JVJbQ="; }; env.CYPRESS_INSTALL_BINARY = "0";