From 7022eaf524a4e69b1557a4f4ad40a1cad4b289b9 Mon Sep 17 00:00:00 2001 From: jk Date: Tue, 28 May 2024 16:15:51 +0200 Subject: [PATCH] nix flake update + pnpm@9.1.3 Note: Latest pnpm@9.1.3 is not part of nixpkg (yet) and needs set (overridden) manually --- flake.lock | 10 +++++----- flake.nix | 8 +++++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index bb5ed632c..ddad17545 100644 --- a/flake.lock +++ b/flake.lock @@ -2,12 +2,12 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1711523803, - "narHash": "sha256-UKcYiHWHQynzj6CN/vTcix4yd1eCu1uFdsuarupdCQQ=", - "rev": "2726f127c15a4cc9810843b96cad73c7eb39e443", - "revCount": 603596, + "lastModified": 1716509168, + "narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=", + "rev": "bfb7a882678e518398ce9a31a881538679f6f092", + "revCount": 630835, "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.603596%2Brev-2726f127c15a4cc9810843b96cad73c7eb39e443/018e832d-3843-724d-abbf-1db8b877f613/source.tar.gz" + "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.630835%2Brev-bfb7a882678e518398ce9a31a881538679f6f092/018fafb0-ec0d-7254-8082-b09ecc86e5fc/source.tar.gz" }, "original": { "type": "tarball", diff --git a/flake.nix b/flake.nix index ddb81b01e..e1df3b8da 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,13 @@ overlays = [ (final: prev: rec { nodejs = prev.nodejs_18; - pnpm = prev.nodePackages.pnpm; + pnpm = prev.nodePackages.pnpm.override rec { + version = "9.1.3"; + src = prev.fetchurl { + url = "https://registry.npmjs.org/pnpm/-/pnpm-${version}.tgz"; + sha256 = "sha256-f2MAHtwHfxz/lsrLqQHzUHlih6KADfqD/omPlBg+T18="; + }; + }; }) ]; supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];