Commit Graph

26 Commits

Author SHA1 Message Date
Martin Weinelt
e6368af3c4
nodePackages: reformat generate.sh
The shell script felt somewhat crammed, with commands and comments on
every line. Grouping commands and comments and giving them some space
feels like an improvement to me.
2021-12-08 11:43:32 +01:00
Martin Weinelt
621163d80a
nodePackages: move to nodejs-14_x
NodeJS 12.x will not be supported when we release 22.05.

https://nodejs.org/en/about/releases/
2021-12-08 11:42:37 +01:00
Kevin Cox
cb51834f94
node-packages: Fix generate when running from a different directory.
Previously it would try to run the build before changing directory which would fail to find the nixpkgs default.nix.

Also simplified the script a little to remove the variable that was only used to change directory.
2021-08-12 15:21:41 -04:00
Luflosi
1ec09ca60a
nodePackages: fix generate.sh failing on path with space
When the path to the Nixpkgs repo contains a space, generate.sh would fail. This can be esily fixed by adding quotes around the variable containing the path.
2021-07-11 14:49:21 +02:00
happysalada
08463affc0 nodePackages: fix generate.sh failure
when gc is automatically enabled
2021-02-15 11:24:15 +09:00
Christian Albrecht
8a03e80ea7
Change to non-versioned node-packages generate.sh 2020-05-29 18:24:13 +02:00
Jörg Thalheim
6602f87384
nodePackages: switch to 12
Signed-off-by: Christian Albrecht <christian.albrecht@mayflower.de>
2020-05-27 21:45:41 +02:00
Jörg Thalheim
b2cfb3131d
nodePackages: use node2nix from git 2020-03-28 06:48:56 +00:00
Jörg Thalheim
216c58a2ad
nodePackages: fix broken update script
The computed path was wrong and references within the file where
wrong as well due to the temporary directory.
2020-03-25 07:33:02 +00:00
Matthieu Coudron
33323e4006 node updater improvements
- Make it run from anywhere
- overwrite old packages only on success to prevent getting into a bad
state
2020-02-27 00:34:11 +01:00
Mario Rodas
2544b1b495
nodejs-13_x: init at 13.0.1
Changelog:
+ https://github.com/nodejs/node/releases/tag/v13.0.0
+ https://github.com/nodejs/node/releases/tag/v13.0.1
2019-10-23 04:20:00 -05:00
Riley Inman
f7ff79892c nodePackages: Use repo tree as nixpkgs
This will make sure that generate.sh uses the correct version of
node2nix when building nodePackages, since the current version on 19.03
is 1.6.0 and the tree should be built with 1.7.0.
2019-09-24 11:40:50 -04:00
adisbladis
fae732edb1
nodePackages: Regenerate node packages for nodejs 10 & 12 2019-08-02 02:34:33 +02:00
adisbladis
d614edeb32
Revert Nodejs-8_x deprecation
This was supposed to go through a pull request

Revert "nodePackages: Regenerate node packages for nodejs 10 & 12"
This reverts commit 6a17bdf397.

Revert "nodejs-8_x: Drop package"
This reverts commit e06c97b71d.
2019-07-05 12:23:27 +01:00
adisbladis
6a17bdf397
nodePackages: Regenerate node packages for nodejs 10 & 12 2019-07-05 12:08:52 +01:00
Sander van der Burg
18c2b52314 node2nix: 1.6.0 -> 1.7.0 and regenerate all Nix expressions, introduce nodePackages_12_x attribute set 2019-06-05 23:48:42 +02:00
tobias pflug
0e296d5fcd
Remove nodejs-6_x which is about to enter EOL
- Remove nodejs-6_x
- Set nodejs / nodejs-slim to nodejs-8_x / nodejs-slim-8_x
- Re-generate node2nix generated files using nodejs-8_x instead
2019-04-04 18:43:06 +01:00
Jörg Thalheim
9d9ba8f4c1
nodePackages: make generate.sh fail fast on error 2018-11-16 11:15:25 +00:00
Sander van der Burg
05474564b2 Add minimal package set for Node.js 10.x 2018-06-29 22:44:33 +02:00
adisbladis
a1835b9924 treewide: Remove references to nodejs-4_x 2018-02-27 10:19:23 +01:00
Sander van der Burg
ab754a40a2 nodePackages: regenerate with node2nix 1.5.0 + add basic Node.js 8.x package set 2017-12-19 22:17:40 +01:00
Jörg Thalheim
6f7670e831
nodePackages: split into v4/v6 package set
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.
2017-05-05 09:02:52 +01:00
Sander van der Burg
7408aca528 Regenerate NPM expressions with node2nix 1.2.0 2017-03-31 20:51:14 +02:00
Christine Koppelt
737decb123 node-packages: add packages for v6 2016-10-30 09:54:55 +01:00
Christine Koppelt
182b1c2777 node-packages: update & cleanup
* update packages for v4
* remove files and generation for v0_10 and v5 as nodejs-5_x and nodejs-0_10 are no longer supported
2016-10-29 23:08:01 +02:00
Sander van der Burg
5ce6cd0106 nodePackages: use node2nix generated package set 2016-09-01 12:12:12 +00:00