Skip to content

Commit

Permalink
bump mdctl to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Dec 10, 2023
1 parent f3d8173 commit 8977b3a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mods/_pkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let
inherit (builtins) listToAttrs pathExists readDir;
inherit (prev.lib) hasSuffix mapAttrsToList optionalAttrs removeSuffix;
inherit (prev.lib.attrsets) filterAttrs;
inherit (prev.pkgs) callPackage nodejs_16;
inherit (prev.pkgs) callPackage nodejs_20;
custom =
(
fn:
Expand All @@ -15,7 +15,7 @@ let
value = callPackage (./pkgs + ("/" + n))
{
inherit (prev) pkgs;
nodejs = nodejs_16;
nodejs = nodejs_20;
};
}
);
Expand Down
4 changes: 1 addition & 3 deletions mods/fixes.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
final: prev: with prev; {
nodejs_16 = prev.nodejs_16.overrideAttrs (_: { meta.platforms = prev.lib.platforms.all; meta.knownVulnerabilities = [ ]; });
}
final: prev: with prev; { }
2 changes: 1 addition & 1 deletion mods/pkgs/mdctl-alpha/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> { }, nodejs ? pkgs.nodejs_16 }:
{ pkgs ? import <nixpkgs> { }, nodejs ? pkgs.nodejs_20 }:
with pkgs; with lib; with builtins;
let
yarn2nix = yarn2nix-moretea.override { inherit nodejs; };
Expand Down
2 changes: 1 addition & 1 deletion mods/pkgs/mdctl/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> { }, nodejs ? pkgs.nodejs_16 }:
{ pkgs ? import <nixpkgs> { }, nodejs ? pkgs.nodejs_20 }:
with pkgs; with lib; with builtins;
let
yarn2nix = yarn2nix-moretea.override { inherit nodejs; };
Expand Down

0 comments on commit 8977b3a

Please sign in to comment.