From b31b1bc33204b7803c8c5afb6ed2ef5d259a41e0 Mon Sep 17 00:00:00 2001 From: Pavel Anpin Date: Mon, 2 Dec 2024 12:46:02 -0300 Subject: [PATCH] typescript: override missing nodejs-16_x --- modules/kernels/typescript/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/kernels/typescript/default.nix b/modules/kernels/typescript/default.nix index 9eadf7bf..8de5fd50 100644 --- a/modules/kernels/typescript/default.nix +++ b/modules/kernels/typescript/default.nix @@ -33,9 +33,10 @@ pkgs' = import self.inputs.nixpkgs-stable.outPath { inherit system; - config.permittedInsecurePackages = [ - # "nodejs-14.21.3" - # "openssl-1.1.1w" + + overlays = [ + # https://github.com/nix-community/npmlock2nix/issues/194 + (final: prev: {nodejs-16_x = prev.nodePackages.nodejs;}) ]; }; _npmlock2nix = pkgs'.callPackage npmlock2nix {};