From d37a843bfcdc2ab2794a468e079b2d6a07dc3c0e Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Tue, 1 Oct 2024 14:18:34 -0400 Subject: [PATCH] flake: use latest node, update --- flake.lock | 16 ++++++++++------ flake.nix | 12 ++++++++---- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 623ba78..dc3dc06 100644 --- a/flake.lock +++ b/flake.lock @@ -19,14 +19,18 @@ }, "nixpkgs": { "locked": { - "lastModified": 0, - "narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=", - "path": "/nix/store/y6205wq8hxvpqvl8l9d1n9xah01kg0lq-source", - "type": "path" + "lastModified": 1727716680, + "narHash": "sha256-uMVkVHL4r3QmlZ1JM+UoJwxqa46cgHnIfqGzVlw5ca4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "b5b22b42c0d10c7d2463e90a546c394711e3a724", + "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" } }, "root": { diff --git a/flake.nix b/flake.nix index 418d042..76d240d 100644 --- a/flake.nix +++ b/flake.nix @@ -1,8 +1,11 @@ { + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + }; outputs = { - self, nixpkgs, flake-utils, + ... }: flake-utils.lib.eachDefaultSystem (system: let @@ -11,10 +14,11 @@ }; in { devShells.default = pkgs.mkShell { - buildInputs = [ - pkgs.nodejs_22 - pkgs.nodePackages.pnpm + buildInputs = with pkgs.nodePackages_latest; [ + nodejs + pnpm + ] ++ [ pkgs.graphviz # For debugging pkgs.gnumake ];