3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
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
..
androidndk-pkgs
beam-modules
bower-modules/generic
chez-modules
compilers Merge pull request #172335 from gbtb/dotnet_31_icu 2022-05-14 07:27:13 +01:00
coq-modules Revert "coqPackages: etc" 2022-05-13 06:47:14 +02:00
dhall-modules
dotnet-modules
em-modules/generic
embedded blackmagic: unstable-2020-08-05 -> unstable-2022-04-16 2022-05-13 12:39:58 -05:00
gnuradio-modules
go-modules
go-packages
guile-modules
haskell-modules haskellPackages: mark builds failing on hydra as broken 2022-05-14 13:51:08 +08:00
idris-modules
interpreters Merge pull request #172780 from schuelermine/update/dart 2022-05-14 06:27:01 -05:00
java-modules
libraries primecount: 7.2 -> 7.3 2022-05-14 11:01:08 -03:00
lisp-modules
lisp-modules-new
lua-modules
misc rpiboot: add aarch64-darwin and x86_64-darwin to the list of supported platforms 2022-05-13 22:20:55 +02:00
mobile
nim-packages
node-packages nodePackages: make it easy to add meta.mainProgram to packages 2022-05-14 11:30:15 -07:00
ocaml-modules ocamlPackages: add meta.mainProgram to many packages 2022-05-14 11:31:07 +02:00
octave-modules
perl-modules
pharo
php-packages phpPackages.php-parallel-lint: 1.0.0 -> 1.3.2 2022-05-12 11:58:36 +02:00
python-modules Merge pull request #172951 from WolfangAukang/pyvips-fix 2022-05-14 17:22:44 +01:00
python2-modules
quickemu
r-modules
ruby-modules
scheme-modules/scheme-bytestructures
tools cargo-expand: 1.0.19 -> 1.0.21 2022-05-14 23:22:35 +08:00
web deno: 1.21.2 -> 1.21.3 2022-05-12 16:53:27 +01:00