Node.js: Difference between revisions
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. | 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 = " | version = "20.5.1"; | ||
sha256 = " | sha256 = "sha256-Q5xxqi84woYWV7+lOOmRkaVxJYBmy/1FSFhgScgTQZA="; | ||
}; | }; | ||
in rec { | in rec { |