Create a package for the latest version of wrangler, and rename the old
one to wrangler_1. The application will not work before Node.js
v16.13.0, so this is added to the meta.
Added it to the top-level as well.
Signed-off-by: David Houston <houstdav000@gmail.com>
This update changes the extension's publisher from "matklad" to
"rust-lang" and moves it to `vscode-extensions.rust-lang.rust-analyzer`,
but keeps `vscode-extensions.matklad.rust-analyzer` for backwards
compatibility. It also bumps the version number from 0.2.xxx to 0.3.xxx,
as described in changelog #129.5:
https://rust-analyzer.github.io/thisweek/2022/05/17/changelog-129-5.html
Packages that now build:
* "@electron-forge/cli
* "@hyperspace/cli"/hyperspace-cli
* "@medable/mdctl-cli"
* thelounge-plugin-giphy
* vega-cli
Also move `pkgs.makeWrapper` from `buildInputs` to `nativeBuildInputs`
in overrides.
This was accomplish by moving the current overrides overlay out of
./default.nix into to a seperate file ./overrides.nix, and composing
that overlay an overlay ,`mainProgramOverrides`, (defined in
./default.nix) which uses the contents of a new file ./main-programs.nix
to create overrides that add `meta.mainProgram` to packages.
The following changes were also made to existing overrides:
* `self` and `super` where changed to `final` and `prev` respectively
* Existing additions of `mainProgram` were moved to ./main-programs.nix
* References to `pkgs.lib` were changed to `lib`
* References to `pkgs.nodejs` were changed to `nodejs`
* References to `nodePackages` were changed to `final`
* References to `pkgs.callPackage` were changed to `callPackage`
Finally `meta.mainProgram` was added to all packages that provide a
single executable whose name differs from the package's name, for
packages available on `{aarch64,x86_64}-darwin` and `x86_64-linux`.
* Standardize on `override` vs `overrideAttrs'.
* Use `oldAttrs` as standard argument to `override` when it's needed.
* Fix overrides of `meta` so that original attributes are preserved.