From e726599aba122f9fc0405d7dd9d7327b94306810 Mon Sep 17 00:00:00 2001 From: Herman Lederer Date: Tue, 21 Feb 2023 14:51:37 +0100 Subject: [PATCH] Update flake --- flake.lock | 8 ++++---- flake.nix | 7 +++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 4c00320..63a7181 100644 --- a/flake.lock +++ b/flake.lock @@ -17,16 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1676928847, - "narHash": "sha256-FIqk+DHRICsWozlOdRxOXO/g9hCqjPYpmr8wQGrpUCA=", + "lastModified": 1669833724, + "narHash": "sha256-/HEZNyGbnQecrgJnfE8d0WC5c1xuPSD2LUpB6YXlg4c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5ab8b5ae26e6a4b781bdebdfd131c054f0b96e70", + "rev": "4d2b37a84fad1091b9de401eb450aae66f1a741e", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixpkgs-unstable", + "ref": "22.11", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 1849054..ad96281 100644 --- a/flake.nix +++ b/flake.nix @@ -3,17 +3,20 @@ inputs = { flake-utils.url = "github:numtide/flake-utils"; - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + nixpkgs.url = "github:NixOS/nixpkgs/22.11"; }; outputs = { self, flake-utils, nixpkgs }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; + pnpm = pkgs.nodePackages.pnpm.override { + nodejs = pkgs.nodejs-18_x; + }; in { devShell = pkgs.mkShell rec { nativeBuildInputs = with pkgs; [ - nodejs-18_x.pkgs.pnpm + pnpm ]; }; }