diff --git a/modules/kernels/typescript/default.nix b/modules/kernels/typescript/default.nix index 9eadf7bf..7c148745 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 {}; @@ -48,7 +49,7 @@ }; tslab = _npmlock2nix.v2.build { - nodejs = pkgs'.nodejs; + nodejs = pkgs'.nodejs-18_x; src = tslabSrc; node_modules_attrs.packageLockJson = ./package-lock.json; buildInputs = [pkgs.makeWrapper];