Commit Graph

1234 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Pyrox
a181967099
nodePackages.create-react-native-app: drop (#363374) 2024-12-08 18:39:02 -05:00
Pyrox
25fe86dff7
nodePackages.expo-cli: drop (#361284)
expo-cli is deprecated upstream
2024-12-08 18:34:29 -05:00
dish
4b641f48a4
nodePackages.webpack-dev-server: drop 2024-12-05 16:50:15 -05:00
Aleksana
c34effa646
remod: init at 1.0.1 (#361651) 2024-12-05 19:32:53 +08:00
dish
c87fec8a4f
nodePackages.insect: drop 2024-12-05 03:39:11 -05:00
Tomodachi94
d53fb123cd
nodePackages.webpack-cli: drop; webpack-cli: init at 5.1.4 (#361616) 2024-12-05 00:34:16 -08:00
Tomodachi94
e1ad70fd4b
nodePackages.meshcommander: drop (#361294) 2024-12-04 23:37:09 -08:00
Tomodachi94
4cbe7614cc
nodePackages.stackdriver-statsd-backend: drop (#361304) 2024-12-04 23:23:14 -08:00
Pyrox
8e4cf35970
nodePackages.ganache: drop (#361285)
* lighthouse: remove unused ganache dependency

* nodePackages.ganache: drop
2024-12-04 20:36:04 -05:00
dish
66e14e1b61
nodePackages.remod-cli: remove and replace with alias to pkgs.remod 2024-12-04 00:20:25 -05:00
dish
986e0e6503
nodePackages.meshcommander: drop 2024-12-03 20:01:56 -05:00
dish
1c662d56df
nodePackages.stackdriver-statsd-backend: drop 2024-12-03 20:00:16 -05:00
dish
e39392ea2c
nodePackages.webpack-cli: make alias to pkgs.webpack-cli 2024-12-03 18:37:58 -05:00
dish
e94d44a63d
kaput-cli: init at 2.5.0 2024-12-03 02:38:54 -05:00
dish
8f72df3598
nodePackages.kaput-cli: drop 2024-12-03 01:41:41 -05:00
Austin Horstman
6ed14b4074
nodePackages.jsonlint: add meta.mainProgram 2024-11-22 09:49:00 -06:00
fidgetingbits
159c840101
neovim-node-client: init at 5.3.0 2024-11-17 15:59:43 +08:00
Pyrox
7614e2c62f
yalc: migrate from nodePackages 2024-11-05 02:45:57 -05:00
Gaétan Lepage
0f955c4b3e
coc-css: migrate from nodePackages (#323474) 2024-11-01 15:47:24 +01:00
Aleksana
6ce04a9424
node-env: fix for utillinux deprecation (#350815) 2024-10-27 11:57:22 +08:00
Aleksana
1dd9d10b45
patch-package: migrate from nodePackages (#323295) 2024-10-24 16:38:22 +08:00
Tyler Hardin
f9fb59ff21 node-env: fix for utillinux deprecation 2024-10-23 20:46:47 -04:00
Tomo
0003fd75d8 {nodePackages,vimPlugins}.coc-tslint{,-plugin}: drop
Both deprecated upstream:
https://github.com/neoclide/coc-tslint
https://github.com/neoclide/coc-tslint-plugin

coc-eslint provides comparable features and is maintained.

Part of #229475
2024-10-21 21:10:02 +00:00
Tomo
76c7c2dd88 nodePackages.shout: drop
shout has been deprecated since 2016:
90a62c56af

Also, move the top-level `shout` alias to `pkgs/top-level/aliases.nix`.

Part of #229475
2024-10-19 17:53:20 +00:00
Tomo
4f89295d80
{nodePackages,vimPlugins}.coc-metals: drop (#349105) 2024-10-18 09:53:32 -07:00
Pyrox
7f110cfc7d
sql-formatter: 15.4.2 -> 15.4.3, migrate from nodePackages (#323304)
sql-formatter: migrate from nodePackages
2024-10-17 16:31:51 +02:00
Pyrox
0f4f56b43f
patch-package: migrate from nodePackages 2024-10-16 22:12:30 -04:00
Pyrox
0239e4afbd
coc-css: migrate from nodePackages 2024-10-16 22:11:05 -04:00
Tomo
666d3bd33d {nodePackages,vimPlugins}.coc-metals: drop
Upstream deprecated it:
https://github.com/scalameta/coc-metals

Upstream recommends vimPlugins.nvim-metals instead.

Part of #229475
2024-10-16 21:51:52 +00:00
Tomo
f3929d6b78 {nodePackages,vimPlugins}.coc-python: drop
See notice in the README:
https://github.com/neoclide/coc-python

> WARNING: it's recommended to use coc-pyright if
> you're using python3 or use coc-jedi if you're using jedi,
> the code of coc-python is too hard to maintain!

If that isn't convincing, the repo was archived on 2020-12-24.

Part of #229475
2024-10-16 05:59:46 +00:00
Robert Schütz
db4fd8f4e3
nodePackages.npm: drop (#346536) 2024-10-09 12:01:42 -07:00
Robert Schütz
b129e21ffd node-red: move from nodePackages 2024-10-08 08:29:56 -07:00
Robert Schütz
506df4e38e nodePackages.npm: drop 2024-10-05 11:23:49 -07:00
Robert Schütz
46bb7c84ac nodePackages.bower2nix: drop 2024-10-01 16:23:59 -07:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Pablo Ovelleiro Corral
5815729213
nodePackages: update to latest 2024-09-20 14:47:54 +02:00
natsukium
8121348089
nodePackages: update to latest 2024-09-08 11:49:21 +09:00
OTABI Tomoya
15ecc60006
coc-clangd: migrate from nodePackages (#323476) 2024-09-08 10:08:56 +09:00
OTABI Tomoya
ad60caf890
coc-pyright: migrate from nodePackages (#327171) 2024-09-08 10:03:49 +09:00
éclairevoyant
912723b1b5
nodePackages.eslint: fix alias 2024-09-04 18:23:14 -04:00
Aleksana
8658668934
postcss-cli: fix darwin hashes (#336091) 2024-09-03 19:52:23 +08:00
Pol Dellaiera
77dd66910e
intelephense: remove from nodePackages (#338761) 2024-09-01 12:09:00 +02:00
Patka
6776764639
intelephense: remove from nodePackages 2024-09-01 11:12:00 +02:00
Simon Žlender
9cd4a79999 nodeModules.prisma: alias to prisma 2024-08-31 22:28:00 +02:00
Jonas Heinrich
02f6fcb039 eslint: 9.7.0 -> 9.9.1 2024-08-31 10:46:21 +02:00
Simon Žlender
dcbcaee4cf prisma: init at 5.18.0 2024-08-30 21:12:54 +02:00
Pyrox
eaff6e79d4
coc-pyright: migrate from nodePackages 2024-08-25 17:30:39 -04:00
Franz Pletz
5d5367eb9d
Merge pull request #336929 from dotlambda/teck-programmer 2024-08-25 01:44:30 +02:00
Robert Schütz
118df3852d teck-programmer: drop
It is broken in both master and release-24.05.
2024-08-23 21:27:31 -07:00