Skip to content

Commit

Permalink
typescript: override missing nodejs-16_x
Browse files Browse the repository at this point in the history
  • Loading branch information
anpin committed Dec 2, 2024
1 parent 7423222 commit be41524
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/kernels/typescript/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
Expand All @@ -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];
Expand Down

0 comments on commit be41524

Please sign in to comment.