Jump to content

Node.js: Difference between revisions

6 bytes removed ,  17 October 2023
Update things so Node is no longer outdated and it works on macOS
imported>Artturin
(update example to use python3, default is python)
imported>Alper
(Update things so Node is no longer outdated and it works on macOS)
Line 200: Line 200:


   outputs = { self, nixpkgs, flake-utils }:
   outputs = { self, nixpkgs, flake-utils }:
     flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
     flake-utils.lib.eachDefaultSystem (system:
       let
       let
         pkgs = import nixpkgs {
         pkgs = import nixpkgs {
Line 212: Line 212:
         nodejs = buildNodeJs {
         nodejs = buildNodeJs {
           enableNpm = true;
           enableNpm = true;
           version = "16.16.0";
           version = "20.5.1";
           sha256 = "FFFR7/Oyql6+czhACcUicag3QK5oepPJjGKM19UnNus=";
           sha256 = "sha256-Q5xxqi84woYWV7+lOOmRkaVxJYBmy/1FSFhgScgTQZA=";
         };
         };
       in rec {
       in rec {
Anonymous user