Commit Graph

1199 Commits

Author SHA1 Message Date
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
Robert Schütz
17f09bddf2 nodePackages.inliner: drop
Upstream hasn't seen any commits in almost seven years.
2024-08-23 21:01:44 -07:00
Olivér Falvai
36de652d39
postcss-cli: fix darwin hashes 2024-08-20 17:28:04 +02:00
Philip Taron
633c856885
nodePackage: remove with statements in aliases 2024-08-18 06:31:16 -07:00
Doron Behar
24a76db073
Merge pull request #334377 from dotlambda/node-gyp
node-gyp: init at 10.2.0
2024-08-16 15:34:47 +00:00
Robert Schütz
87d6cc69a4 nodePackages.yarn: drop 2024-08-13 06:55:04 -07:00
Robert Schütz
000f83e17c nodePackages.node-gyp: drop 2024-08-13 05:54:31 -07:00
Doron Behar
ee74566fdd nodePackages."@astrojs/language-server": fix alias
After comment here:
d128948f8c (commitcomment-145244043)
2024-08-10 20:51:35 +03:00
Doron Behar
d6f7206fe0
Merge pull request #323493 from pyrox0/pnpm-fetchdeps-improve
pnpm.fetchDeps: Add workspace and custom pnpm config commands support
2024-08-07 12:37:34 +00:00
Robert Schütz
3d19c4d6ed
Merge pull request #330940 from dotlambda/node-pre-gyp
node-pre-gyp: init at 1.0.11
2024-08-06 05:24:38 -07:00
Doron Behar
d128948f8c astro-language-server: init at 2.10.0
Close #309100 .

Co-authored-by: Pyrox <pyrox@pyrox.dev>
2024-08-05 18:36:54 +03:00
Robert Schütz
0fc3337666 concurrently: move out of nodePackages 2024-08-05 07:23:25 -07:00
Robert Schütz
d4260d7ae2 nodePackages.node-pre-gyp: drop 2024-08-05 03:34:40 -07:00
Pyrox
4a938f0428
coc-clangd: migrate from nodePackages 2024-08-02 15:43:59 -04:00
Pyrox
65c30b34ca
coc-diagnostic: migrate from nodePackages 2024-07-29 01:17:33 -04:00
OTABI Tomoya
067751f9e8
Merge pull request #330568 from natsukium/node-packages/update
nodePackages: update to latest
2024-07-29 00:17:43 +09:00
natsukium
131df0bffa
nodePackages: update to latest 2024-07-28 12:19:36 +09:00
Vladimír Čunát
64c6a981fe
Merge branch 'master' into staging-next 2024-07-27 09:18:58 +02:00
OTABI Tomoya
c6b83ffac3
Merge pull request #299236 from philiptaron/issue-208242/node-packages-part-1
Avoid top-level `with ...;` in `pkgs/development/node-packages`
2024-07-27 10:27:41 +09:00
Emily
ab13e5e5b9
Merge pull request #328167 from reckenrode/node2nix-cctools
nodePackages.node2nix: use top-level cctools in generated files
2024-07-26 22:35:15 +01:00
Philip Taron
ec0dc6aec1
Avoid top-level with ...; in pkgs/development/node-packages/aliases.nix 2024-07-26 09:11:33 -07:00
github-actions[bot]
7208220b63
Merge master into staging-next 2024-07-24 18:01:18 +00:00
Aleksana
f395d4407c
Merge pull request #327583 from junglerobba/angular-cli-completions
@angular/cli: install shell completions
2024-07-24 23:44:23 +08:00
github-actions[bot]
8402add1f4
Merge master into staging-next 2024-07-24 12:01:12 +00:00
eljamm
68dff9dcf6
joplin: fix build
Joplin broke after the update to python 3.12 because of missing
distutils. This change adds setuptools which replaces it and makes the
package build successfully.
2024-07-24 08:36:44 +01:00
Randy Eckenrode
97930732df
nodePackages.node2nix: use top-level cctools in generated files 2024-07-18 15:25:44 -04:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
❄️
e366d1e568
Merge pull request #326268 from Fuuzetsu/rust-analyzer-vscode-update
vscode-extensions.rust-lang.rust-analyzer: 0.3.1850 -> 0.3.2029
2024-07-17 12:55:48 -03:00
Tobias Langendorf
3dfaa447a8 @angular/cli: install shell completions 2024-07-16 18:42:58 +02:00
Robert Schütz
635ee0ff40 nodePackages.joplin: mark broken 2024-07-15 01:38:15 -07:00
Robert Schütz
9d41920ce3 nodePackages.grammarly-languageserver: drop
It was already marked broken.
2024-07-15 01:35:58 -07:00
Pyrox
0af9d835c2
nodePackages.vue-cli: drop (#325110)
* nodePackages.vue-cli: drop

The Vue CLI is now deprecated, and create-vue(not package in nix) should
be used to scaffold Vue projects. The last commit to the upstream repo
for this tool was 2 years ago, and so it's no longer maintained and
should be safe to drop.

* Update pkgs/development/node-packages/aliases.nix

---------

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-07-14 19:20:33 +02:00
Mateusz Kowalczyk
edf67597b3
vscode-extensions.rust-lang.rust-analyzer: 0.3.1850 -> 0.3.2029
I have removed the no-longer-necessary `echo y` in
the script, along with the TODO.

The other change is to `jq` command patching
`package.json`: it appears the content has changed
so I modify the script accordingly to keep
patching the correct value with the new format.

I have verified that it works locally, though it
is just as broken as what's in current master
until there's a fix for
https://github.com/NixOS/nixpkgs/issues/326264 .
2024-07-11 18:21:05 +09:00
Drewry Pope
876c65c424 nodePackages.wrangler: remove 2024-07-10 04:10:01 -05:00
Drewry Pope
5c5b655799 wrangler: init at 3.62.0
Co-authored-by: Sean Murphy <sean@gopaddy.ch>
2024-07-10 04:10:00 -05:00
Weijia Wang
add9bded6f
Merge pull request #324858 from gracicot/gracicot/update-prisma
nodePackages.prisma: 5.12.1 -> 5.16.1
2024-07-07 02:46:41 +02:00