This adds dat to both nodePackages_6_x and nodePackages_8_x.
This package requires node-gyp-build which is also added to both package sets.
Finally nodePackages_8_x was missing node-gyp and node-pre-gyp.
These packages will be placed into an environment using
`backendsToPackages`. This function explicitly maps backends to
`pkgs.nodePackages.${type}` unless it's a builtin. This ensures that only
valid backends that work on NixOS are used (if not, the build already
breaks at evaluation time).
The log will be redirected to `stdout` to be able to watch the entire
output using `journalctl`.
Configuration parameters for the backends need to be set using
`services.statsd.extraConfig` as each backend has its own options and
all of them shouldn't be validated and checked explicitly and manually.
A full package set is not needed for both node versions. The goal is to
remove the large amount of generated files. Instead only packages which
might be needed in v4 development environments are added to a dedicated
node-packages-v4.json file.
This reverts commit 986dba716f.
Fixes:
error: anonymous function at /home/travis/build/NixOS/nixpkgs/pkgs/development/node-packages/node-env.nix:3:1 called with unexpected argument ‘python’, at /home/travis/build/NixOS/nixpkgs/pkgs/development/node-packages/composition-v6.nix:8:13
This commit is doing a lot more than removing the yarn package, it also
upgrades a ton of other packages.
Add the NPM package `csslint`, at version 1.0.2, as `nodePackages.csslint`.
I have tested this package per nixpkgs manual section 10.1 ("Making patches").
Fixes #18616
Add the NPM package `htmlhint`, at version 0.9.13, as `nodePackages.htmlhint`.
I have tested this package per nixpkgs manual section 10.1 ("Making patches").