Commit graph

680 commits

Author SHA1 Message Date
Malo Bourgon
73fe05a563 nodePackages: add meta.mainProgram to packages with multiple executables
where none of the executables match the package's `name` or `pname`, and
one of the executables is the obvious `mainProgram`.
2022-05-17 00:12:13 -07: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
Malo Bourgon
745739f280 nodePackages: cleanup/fix overrides
* 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.
2022-05-14 11:26:23 -07:00
Malo Bourgon
c8b24b7faa nodePackages: sort overrides 2022-05-14 11:24:35 -07:00
Jörg Thalheim
d8a708d2b6
Merge pull request #172801 from midchildan/fix/epgstation
epgstation: fix build
2022-05-14 08:12:55 +01:00
Sandro
da20988217
Merge pull request #172563 from pimeys/prisma-tests 2022-05-13 21:22:52 +02:00
midchildan
834477e4d4
epgstation: move node-pre-gyp and node-gyp-build to buildInputs 2022-05-14 00:48:28 +09:00
Julius de Bruijn
03651228c4 nodePackages.prisma: package tests to validate binary interop 2022-05-13 16:49:47 +02:00
Aleksander Gondek
41b99ff816
vscode-extensions.matklad.rust-analyzer: 0.2.975 - > 0.2.1048 2022-05-13 11:41:59 +02:00
midchildan
dfeb273bfa
epgstation: fix build 2022-05-13 10:39:02 +09:00
Armeen Mahdian
c53a9ada0b nodePackages: remove lumo-build-deps 2022-05-12 16:00:40 -05:00
Julius de Bruijn
af7b065217 nodePackages.prisma: 3.13.0 -> 3.14.0 2022-05-10 16:12:33 +02:00
Armeen Mahdian
ca079e3074 phantomjs2: remove 2022-05-04 16:36:21 -05:00
happysalada
91bbd5677d nodePackages: use latest node2nix 2022-05-02 00:46:16 -04:00
Sandro
b8150f791c
Merge pull request #170524 from armeenm/unbreak-hyperspace-cli
hyperspace-cli: unbreak
2022-04-27 17:49:01 +02:00
Julius de Bruijn
4bd5ee55ab nodePackages.prisma: 3.12.0 -> 3.13.0 2022-04-27 10:51:21 +02:00
Armeen Mahdian
f4f0f8a62b hyperspace-cli: unbreak 2022-04-26 17:18:43 -05:00
DarkOnion0
e3025623e6 coc-haxe: init at 0.8.0 2022-04-21 06:50:36 +02:00
workflow
bb426117be add coc-flutter NPM dependency 2022-04-16 00:25:38 +01:00
workflow
2af96a4832 update node-packages.nix 2022-04-15 17:56:03 +01:00
Jonas Heinrich
00214c2346 nodePackages: add ts-node 2022-04-13 14:37:41 -04:00
Robert Schütz
eca01bff99 deltachat-desktop: 1.28.1 -> 1.28.2
https://github.com/deltachat/deltachat-desktop/releases/tag/v1.28.2
2022-04-09 10:53:17 +00:00
Sandro
93a139dac3
Merge pull request #166804 from Luflosi/fix-postcss-cli 2022-04-06 14:21:06 +02:00
Robert Schütz
d3424f16f2 deltachat-desktop: 1.28.0 -> 1.28.1
https://github.com/deltachat/deltachat-desktop/releases/tag/v1.28.1
2022-04-05 19:18:31 -04:00
Julius de Bruijn
01bc3d29b5 nodePackages.prisma: 3.11.0 -> 3.12.0 2022-04-05 17:41:49 +02:00
Luflosi
757affafd3
nodePackages.postcss-cli: fix execution of binary
Without this change, executing the postcss binary results in the following error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'postcss'

Thanks to https://github.com/NixOS/nixpkgs/issues/145618#issuecomment-1051347961 I finally managed to fix this. For some reason `wrapProgram` is still needed though.
Fixes https://github.com/NixOS/nixpkgs/issues/145618.
2022-04-01 12:33:21 +02:00
Luflosi
9dc7fafa42
nodePackages.postcss-cli: add Luflosi as maintainer 2022-04-01 12:06:15 +02:00
Malo Bourgon
d4a3419157 nodePackages.typescript: add mainProgram 2022-03-28 18:22:35 -07:00
Robert Schütz
97e5863569 deltachat-desktop: update react-string-replace to 1.0.0
This reduces the closure size by 4.9 MiB.
2022-03-28 04:52:10 +00:00
Robert Schütz
12417777b2 deltachat-desktop: 1.26.0 -> 1.28.0
https://github.com/deltachat/deltachat-desktop/releases/tag/v1.28.0
2022-03-27 03:48:21 +00:00
Sandro
f2d269d37d
Merge pull request #161249 from lunik1/lounge-plugin-fixes 2022-03-23 05:54:37 +01:00
Austin Butler
85c14e9c0f vscode-extensions.matklad.rust-analyzer: 0.2.834 -> 0.2.975 2022-03-21 15:32:53 -04:00
Julius de Bruijn
3dcfea557e prisma: 3.10.0 -> 3.11.0 2022-03-15 20:06:33 +01:00
Kevin Cox
3222d8665d
Merge pull request #159865 from midchildan/update/epgstation
epgstation: 1.7.5 -> 2.6.20
2022-03-12 13:42:49 -05:00
midchildan
5f388fdc23
nodePackages: update 2022-03-12 15:10:36 +09:00
midchildan
3330602a59
node2nix: backport package alias port 2022-03-12 15:10:35 +09:00
midchildan
227e4f4d0a
epgstation: 1.7.5 -> 2.6.20 2022-03-12 15:10:28 +09:00
Naïm Favier
acc5559077
nodePackages: fix eval
Remove use of aliases so that eval succeeds with allowAliases = false
2022-03-11 15:07:22 +01:00
Mr Hedgehog
96c33c8a4a
nodePackages.prettier_d_slim: init at 1.2.0
Fixes #162653
2022-03-07 09:14:20 -05:00
afreakk
3024ba0b76 parcel: init at 2.3.2 2022-03-03 10:14:08 +01:00
Artturi
05db436400
Merge pull request #161382 from pimeys/prisma-3.10.0
prisma 3.8.0 -> 3.10.0
2022-03-01 06:41:59 +02:00
AndersonTorres
3f19fc37a3 Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00
Anderson Torres
f15188d1b8
Merge pull request #160344 from AndersonTorres/move-vscode-plugins
Move misc/vscode-extensions to applications/editors/vscode/extensions
2022-02-24 14:50:40 -03:00
Julius de Bruijn
b10d4e7b74 prisma 3.8.0 -> 3.10.0 2022-02-22 15:28:44 +01:00
Sandro
c1ac878000
Merge pull request #158797 from teutat3s/feature/manta-use-nodejs-14 2022-02-21 23:49:08 +01:00
lunik1
6f17ba558f
nodePackages.thelounge-{plugin-closepms, theme-flat-blue, theme-flat-dark}: add override
These thelounge plugins require node-pre-gyp to build
2022-02-21 15:17:32 +00:00
lunik1
aaee8f0733
iosevka: 11.0.1 → 14.0.1 2022-02-21 14:55:46 +00:00
Robert Schütz
af9f064e45 deltachat-desktop: fix build
error-stack-parser 2.0.7 broke it:
https://github.com/stacktracejs/error-stack-parser/pull/54#commitcomment-66531802
2022-02-21 05:14:15 +00:00
AndersonTorres
8f868e154c Move misc/vscode-extensions to applications/editors/vscode/extensions 2022-02-18 08:25:22 -03:00