From a4cbc47aa74b55c4e87c54ca69ca783316efe1c4 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Thu, 28 Jul 2022 13:37:18 +1000 Subject: [PATCH] nix: updated nodejs to v16 --- nix/packages.nix | 2 +- shell.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/packages.nix b/nix/packages.nix index 840a9c9c..f27eea13 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -4,7 +4,7 @@ let #nodePackages = pkgs.callPackage ./node-packages {}; packages = self: { sources = import ./sources.nix; - nodejs = pkgs.nodejs-12_x; + nodejs = (import self.sources.nixos2205 {}).nodejs; nix-inclusive = pkgs.callPackage "${self.sources.nix-inclusive}/inclusive.nix" {}; inherit (self.yarn-static.passthru) offlinecache; cardano-rosetta-server = self.callPackage ./cardano-rosetta-server.nix {}; diff --git a/shell.nix b/shell.nix index d99dff95..e675370a 100644 --- a/shell.nix +++ b/shell.nix @@ -5,6 +5,7 @@ , pkgs ? import ./nix/pkgs.nix {} , sources ? import ./nix/sources.nix , iohkNix ? import sources.iohk-nix {} +, nodejs ? (import sources.nixos2205 {}).nodejs , yarn2nix ? pkgs.yarn2nix-moretea.yarn2nix }: