Commit Graph

162 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
natsukium
8121348089
nodePackages: update to latest 2024-09-08 11:49:21 +09:00
Aleksana
8658668934
postcss-cli: fix darwin hashes (#336091) 2024-09-03 19:52:23 +08:00
Patka
6776764639
intelephense: remove from nodePackages 2024-09-01 11:12:00 +02:00
Simon Žlender
dcbcaee4cf prisma: init at 5.18.0 2024-08-30 21:12:54 +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
Olivér Falvai
36de652d39
postcss-cli: fix darwin hashes 2024-08-20 17:28:04 +02:00
Robert Schütz
000f83e17c nodePackages.node-gyp: drop 2024-08-13 05:54:31 -07:00
Robert Schütz
d4260d7ae2 nodePackages.node-pre-gyp: drop 2024-08-05 03:34:40 -07: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
Aleksana
f395d4407c
Merge pull request #327583 from junglerobba/angular-cli-completions
@angular/cli: install shell completions
2024-07-24 23:44:23 +08: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
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
Drewry Pope
876c65c424 nodePackages.wrangler: remove 2024-07-10 04:10:01 -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
Franz Pletz
7179de7adb
Merge pull request #322503 from pyrox0/autoprefixer-init 2024-07-06 16:01:34 +02:00
Robert Schütz
adea7527cc
typescript-language-server: use fetchYarnDeps 2024-07-06 10:56:42 +02:00
Pyrox
88ca48b76a
nodePackages.autoprefixer: Remove from node-packages
Moves to pkgs/by-name.
2024-07-05 13:51:29 -04:00
Guillaume Racicot
fddca139b5 nodePackages.prisma: 5.12.1 -> 5.16.1 2024-07-05 12:27:19 -04:00
Pyrox
ffa77cec62 nodePackages.pnpm: alias
Sets it to be an alias of the pkgs/by-name pnpm package.
2024-06-26 11:41:32 +02:00
lassulus
fe3909bcc0
Merge pull request #319134 from friedow/pkgs/@vue/language-server
vue-language-server: init at 2.0.21
2024-06-25 22:27:03 +02:00
Christian Friedow
6443d95bda
nodePackages.@volar/vue-language-server: remove deprecated package 2024-06-16 08:38:56 +02:00
Marie Ramlow
27881a44ce nodePackages.bash-language-server: remove attribute
bash-language-server has been packaged outside of nodePackages in #317954, but not correctly removed from nodePackages.
2024-06-14 22:59:48 +02:00
natsukium
de75f90295
nodePackages.postcss-cli: fix build 2024-06-05 00:35:33 +09:00
natsukium
1146d4fb48
nodePackages: update to latest 2024-06-04 23:21:41 +09:00
Alexey Orlenko
10e119a312
nodePackages.prisma: 5.6.0 -> 5.12.1 2024-04-08 20:58:05 +02:00
natsukium
4d1ca28f49
joplin: fix build 2024-03-20 00:57:17 +09:00
natsukium
9cd2f3f91a
nodePackages: update to latest 2024-03-20 00:57:17 +09:00
Robert Schütz
4b2a7dc32b nodePackages.grammarly-languageserver: mark broken 2024-03-05 18:30:30 -08:00
Kevin J Hoerr
b10b959827
bash-language-server: Add shellcheck to bin path 2024-02-07 13:40:45 -05:00
Ulrik Strid
844196d126 nodePackages: update to latest 2024-02-06 14:36:37 +01:00
Robert Schütz
da6d13cea0 graphite-cli: use buildNpmPackage 2024-01-28 10:58:35 -08:00
Matthew_Cash
d7d7e123b3 nodePackages.volar: add meta.mainProgram 2024-01-25 15:08:48 +01:00
Robert Schütz
9acd7a1737
Revert "archivebox: 0.6.2 -> 0.7.1" 2023-12-28 03:47:24 -08:00
Stanislaw Pitucha
f4c049b00b nodePackages.postlight-parser: init at 2.2.3 2023-12-26 22:12:10 +11:00
Stanisław Pitucha
677196c259 nodePackages.readability-extractor: init at 0.0.6 2023-12-26 22:10:48 +11:00
Ulrik Strid
a3a1a7e258 wrangler: support darwin and arm64 2023-12-05 08:46:13 +01:00
Ulrik Strid
14ef2bb6ae wrangler: Fix broken workerd on linux 2023-12-04 12:16:42 +01:00
Peder Bergebakken Sundt
86ca5804c8
Merge pull request #267718 from aqrln/prisma-5-6-0
nodePackages.prisma: 5.4.1 -> 5.6.0
2023-12-02 15:31:39 +01:00
adisbladis
78720c40b5
Merge pull request #269855 from lourkeur/teck-udev-rules-license
teck-udev-rules: correct meta.license attribute
2023-12-01 13:13:08 +13:00
Luflosi
073a55f214 nodePackages.postcss-cli: improve meta.license
Replace stringy license with attrset.

See issue #269788.
2023-11-30 21:11:03 +01:00
Louis Bettens
ecddf906dc
teck-udev-rules: correct meta.license attribute 2023-11-25 12:22:01 +01:00
Alexey Orlenko
178818331e
nodePackages.prisma: 5.4.1 -> 5.6.0 2023-11-15 19:21:18 +01:00
Alexey Orlenko
566d7348ee
nodePackages.prisma: 5.2.0 -> 5.4.1 2023-10-07 01:50:59 +02:00
Robert Schütz
254230e251 mermaid-cli: use fetchYarnDeps 2023-10-02 14:10:23 -07:00
Robert Schütz
9c3b920041 aws-azure-login: use fetchYarnDeps 2023-09-30 13:39:56 -07:00
Robert Schütz
1206c19e37
Merge pull request #256381 from dotlambda/forge-cli-drop
nodePackages.@forge/cli: drop
2023-09-22 16:41:22 +00:00