Commit Graph

154 Commits

Author SHA1 Message Date
Julius de Bruijn
2340d0c184 nodePackages.prisma: 3.14.0 -> 3.15.1 2022-06-09 18:12:20 +02:00
Artturin
c1fffdfffb treewide: change some glibc to stdenv.cc.libc 2022-05-27 05:57:43 +03:00
Malo Bourgon
628a107546 nodePackages: get more packages building
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.
2022-05-14 11:30:21 -07:00
Malo Bourgon
31673e9aee nodePackages: make it easy to add meta.mainProgram to packages
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`.
2022-05-14 11:30:15 -07:00