Commit Graph

234 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
Vladimír Čunát
90ed57bec4
Revert #342349: "tree-sitter: 0.22.6 -> 0.23.0"
This reverts commit d462c989c7.
It's a too big rebuild (~32k total), moving to the staging branch.
2024-09-17 16:35:38 +02:00
Riley Bruins
fbe613e1f1 tree-sitter-grammars.tree-sitter-wing: update source repo
The repo for this tree-sitter grammar was changed a while back and not
reflected here, which broke
emacsPackages.treesit-grammars.with-all-grammars. Fixes #342344.
2024-09-16 09:46:01 -07:00
Riley Bruins
d462c989c7 tree-sitter: 0.22.6 -> 0.23.0
Also updates all of the grammars, and adds some new repos to the script
ignore list.
2024-09-16 08:45:11 -07:00
Sandro
2bba36f6df
Merge pull request #330326 from qwqawawow/add-treesitter-bqn
tree-sitter-grammars: add bqn
2024-07-29 13:58:44 +02:00
qwqawawow
ac64c1522a tree-sitter-grammars: add bqn 2024-07-27 13:36:17 +08:00
Masum Reza
79761c9206
Merge pull request #312415 from MangoIV/mangoiv/update-tree-sitter
tree-sitter: 0.22.5 -> 0.22.6
2024-06-25 01:34:05 +05:30
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
mangoiv
a02f196585
tree-sitter: 0.22.5 -> 0.22.6 2024-05-17 12:56:20 +02:00
Mario Rodas
5879f6b356
Merge pull request #304253 from marsam/update-tree-sitter
tree-sitter: 0.22.2 -> 0.22.5
2024-04-18 22:08:54 -05:00
github-actions[bot]
ae22f8403a
Merge master into staging-next 2024-04-18 18:00:58 +00:00
Konrad Malik
fd74d0d49a
tree-sitter-grammars: Add earthfile 2024-04-17 21:23:44 +02:00
Mario Rodas
0b54bdbf59 tree-sitter: add passthru.updateScript 2024-04-15 04:20:00 +00:00
Mario Rodas
4441472353 tree-sitter: update grammars 2024-04-15 04:20:00 +00:00
Mario Rodas
eddac71a68 tree-sitter-grammars.tree-sitter-wing: fix build with latest tree-sitter 2024-04-15 04:20:00 +00:00
Mario Rodas
e60cff0f98 tree-sitter: 0.22.2 -> 0.22.5
Diff: https://github.com/tree-sitter/tree-sitter/compare/v0.22.2...v0.22.5

Changelog: https://github.com/tree-sitter/tree-sitter/blob/v0.22.5/CHANGELOG.md
2024-04-15 04:20:00 +00:00
Philip Taron
4852095139
tree-sitter: embed path to emcc so tree-sitter build --wasm works 2024-04-05 15:26:36 -07:00
Mario Rodas
b70db0c87e
Merge pull request #295321 from marsam/update-tree-sitter
tree-sitter: 0.20.9 -> 0.22.1
2024-03-28 08:06:09 -05:00
Akira Komamura
336269c419 tree-sitter-grammars: Add koka 2024-03-20 12:16:57 +09:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Leona Maroni
d240fbc9f6
Merge pull request #296582 from fidgetingbits/add-tree-sitter-talon
tree-sitter-grammars: add talon
2024-03-17 10:58:29 +01:00
FidgetingBits
a48ddbea86
tree-sitter-grammars: add talon 2024-03-17 15:48:38 +08:00
Mario Rodas
d4c904a7c8 tree-sitter: add lunarvim as reverse dependency to passthru.tests 2024-03-17 04:20:00 +00:00
Mario Rodas
6007a24b79 tree-sitter: update grammars 2024-03-17 04:20:00 +00:00
Mario Rodas
08d1546b1b tree-sitter: 0.22.1 -> 0.22.2
Diff: https://github.com/tree-sitter/tree-sitter/compare/v0.22.1...v0.22.2

Changelog: https://github.com/tree-sitter/tree-sitter/blob/v0.22.2/CHANGELOG.md
2024-03-17 04:20:00 +00:00
Payas Relekar
ac32c424d3 tree-sitter-grammars: add gleam 2024-03-14 12:18:49 +05:30
Mario Rodas
af50a356da tree-sitter: update grammars 2024-03-12 04:20:00 +00:00
Mario Rodas
be2f7c376c tree-sitter: update grammars broken by the 0.22.1 2024-03-12 04:20:00 +00:00
Mario Rodas
593fd780ae tree-sitter: 0.20.9 -> 0.22.1
Diff: https://github.com/tree-sitter/tree-sitter/compare/v0.20.9...v0.22.1

Changelog: https://github.com/tree-sitter/tree-sitter/blob/v0.22.1/CHANGELOG.md
2024-03-12 04:20:00 +00:00
Brian Ryall
b71a98af6c
tree-sitter: 0.20.8 -> 0.20.9 2024-02-12 17:27:21 +02:00
kirillrdy
e78f177a8a
Merge pull request #277771 from danderson/templ-grammar
tree-sitter-grammars: add templ
2024-01-26 21:43:37 +09:00
seth
f348632995
tree-sitter-grammars: add just 2024-01-19 15:26:35 -05:00
Dave Anderson
2cbbff53e8 tree-sitter-grammars: add templ 2023-12-30 17:47:47 -08:00
Otavio Salvador
17d6576d85 tree-sitter-grammars: add bitbake
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-12-30 20:11:57 -03:00
adisbladis
5f396752c0 tree-sitter-grammars.tree-sitter-nix: update grammar 2023-12-26 15:47:54 +13:00
Adam Stephens
72ff6b5fcf tree-sitter-grammars.tree-sitter-nu: use official repo 2023-12-21 11:47:16 -08:00
Pol Dellaiera
38da51f06c
Merge pull request #268695 from purcell/tree-sitter-uiua
tree-sitter-grammars: add uiua
2023-11-30 16:33:18 +01:00
Matthieu Coudron
91ed9b6d93 tree-sitter-grammars.tree-sitter-norg-meta: init 2023-11-27 00:26:29 +01:00
Matthieu Coudron
1266abe247 tree-sitter: ignore csharp-tree-sitter to unblock update 2023-11-27 00:23:28 +01:00
Steve Purcell
7b5f99cbac tree-sitter-grammars: add uiua 2023-11-20 11:25:06 +00:00
Thiago Kenji Okada
b45133e20d
Merge pull request #244298 from oxalica/remove-unused
{birdtray,isgx,mycrypto,osu-lazer,stretchly,tree-sitter}: remove oxalica as maintainer
2023-11-06 08:13:34 +00:00
Bernardo Meurer
2e647defa9
Merge pull request #259001 from acowley/init-tree-sitter-wgsl
tree-sitter-grammars: add wgsl
2023-10-25 09:00:40 -04:00
Damien Cassou
632c4140e9
tree-sitter: let nixpkgs-format reformat the buffer 2023-10-12 11:30:22 +02:00
Damien Cassou
85e135d302
tree-sitter-grammars: add proto
The tree-sitter-proto.json file was created by running the update
script as described in tree-sitter/default.nix.
2023-10-12 11:30:00 +02:00
Adam Stephens
778f23d04f
tree-sitter-grammars: fix typst grammar 2023-10-09 13:40:22 -04:00
Icy-Thought
df9c6eb781
tree-sitter-grammars: generate typst parser 2023-10-08 16:28:46 +02:00
Icy-Thought
1045b89402
tree-sitter-grammars: add typst 2023-10-06 09:20:39 +02:00
Anthony Cowley
edf4036ece tree-sitter-grammars: add wgsl 2023-10-04 09:54:26 -04:00
Evgeny Kurnevsky
3b0a6d5ffd
tree-sitter: update grammars 2023-09-26 12:54:44 +03:00
Artturi
014b0d9fba
Merge pull request #241340 from ErinvanderVeen/tree-sitter-emscripten-fix 2023-09-15 06:59:33 +03:00