This reverts commit 41af38f3728bd64b80721c44ed1fb019978cbc1b, reversing
changes made to f0fec244ca380b9d3e617ee7b419c59758c8b0f1.
Let's delay this. We have some serious regressions.
Although hopefully this can eventually be added to nodePackages, it uses
some devDependencies to build custom fonts. Node2nix doesn't currently
support enabling devDependencies for a single package.
- Got rid of redundant let-in statements.
- node-packages.json now only pulls in Iosevka.
- generate.sh
* Uses a nix-shell shebang to ensure it builds using the current
version of node2nix (the old version caused some issues due to the
19.03 release version being 1.6.0 instead of 1.7.0).
* Builds in development mode to fix the devDependencies issue.
- Use the tree of the built node package as sourceRoot instead of
installing node dependencies manually. This means the source will have
to be updated in both node-packages.json and default.nix, but to make
things easier the derivation inherits the version number.
- Disparate build options now all live under privateBuildPlan, which is
converted first with builtins.toJSON and then to TOML using remarshal
(Unfortunately there is not currently a builtins.toTOML).
- Extra parameters can also be provided that will be converted to JSON
then TOML. This will overwrite the default parameters.toml file.
This change affects packages that refers to postgres in order to get access to
the client code, libpq, and these packages will now be compiled supporting the
latest version.
This change does not affect NixOS, i.e. people who want to run a PostgreSQL
server. The NixOS module always refers to specific versions of 'postgres', so
if you want to use the latest version there, too, then you'll have to configure
your system appropriately in configuration.nix.
See https://github.com/NixOS/nixpkgs/pull/69194 for an effort to update the
NixOS module, too.
Fixes https://github.com/NixOS/nixpkgs/issues/69141.