Commit Graph

44 Commits

Author SHA1 Message Date
Erlend Hamberg
040826a94f
erlang-ls: 0.52.0 -> 1.1.0 2024-11-05 21:20:02 +01: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
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
R. Ryantm
14d0b8e5eb erlang-ls: 0.51.0 -> 0.52.0 2024-04-25 11:52:55 +00:00
Marko Mindek
a44fef7dee erlang-ls: 0.48.0 -> 0.51.0 2024-04-02 17:09:32 +02:00
R. Ryantm
cbb6a1bae3 erlang-ls: 0.47.1 -> 0.48.0 2023-07-11 15:11:33 +00:00
R. Ryantm
58feedd1df erlang-ls: 0.46.2 -> 0.47.1 2023-06-05 23:04:27 +00:00
David Houston
9d6d028f2b
erlang-ls: Set meta.mainProgram
The erlang language server's primary binary is `erlang_ls`, just like
the repository name, but this package sets the package name to
`erlang-ls` without also either aliasing the binary or setting
`meta.mainProgram`. Setting `meta.mainProgram` to `erlang_ls` should
allow the use of `lib.getExe`.
2023-03-18 08:08:48 -04:00
Domen Kožar
06e575573c erlang-ls: fix build 2023-03-13 11:24:58 +00:00
R. Ryantm
29fe30e1f7 erlang-ls: 0.46.1 -> 0.46.2 2023-02-25 13:35:35 +00:00
Weijia Wang
5913e9bc11
Merge pull request #191325 from r-ryantm/auto-update/erlang-ls
erlang-ls: 0.41.2 -> 0.46.1
2023-01-22 22:24:52 +01:00
superherointj
163dc39379 erlang-ls: fix test for erlangR25+ 2023-01-16 13:05:42 -05:00
R. Ryantm
9d00dfc285 erlang-ls: 0.41.2 -> 0.46.1 2022-12-15 23:39:41 +00:00
superherointj
db3af3d7fb
Merge pull request #188182 from ehamberg/fix-redbug-on-opt-25
Fix erlang-ls build error with Erlang/OTP ≥ 25
2022-08-25 21:08:54 -03:00
Erlend Hamberg
bbe876ee06
Use substituteInPlace instead of calling sed 2022-08-24 21:54:09 +02:00
Erlend Hamberg
682e6b0f9e
Fix redbug build error with Erlang/OTP ≥ 25 2022-08-24 14:47:59 +02:00
Erlend Hamberg
d831b5e8dc
erlang-ls: 0.35.0 -> 0.41.2 2022-08-24 14:42:22 +02:00
R. Ryantm
d13360fadb erlang-ls: 0.32.0 -> 0.35.0 2022-05-25 03:46:12 +00:00
R. Ryantm
2217e87dd0 erlang-ls: 0.31.0 -> 0.32.0 2022-05-06 02:41:11 +00:00
R. Ryantm
c45d1eedd8 erlang-ls: 0.30.0 -> 0.31.0 2022-05-01 03:14:17 +00:00
R. Ryantm
be4f5bedec erlang-ls: 0.29.0 -> 0.30.0 2022-04-28 02:22:48 +00:00
Mario Rodas
72849b8d43
Merge pull request #169512 from r-ryantm/auto-update/erlang-ls
erlang-ls: 0.24.0 -> 0.29.0
2022-04-27 07:11:26 -05:00
Kira Bruneau
388b7857f4 erlang-ls: remove explicit url passed to list-git-tags 2022-04-23 15:30:56 -04:00
R. Ryantm
208042232d erlang-ls: 0.24.0 -> 0.29.0 2022-04-21 02:20:12 +00:00
Lassulus
09a02d7e65
Merge pull request #161460 from r-ryantm/auto-update/erlang-ls
erlang-ls: 0.23.1 -> 0.24.0
2022-04-20 18:49:48 +01:00
R. Ryantm
6cf706b5bd erlang-ls: 0.23.1 -> 0.24.0 2022-02-23 04:41:22 +00:00
José Romildo
ba59355e81 gitUpdater: init
- Add the 'gitUpdater' helper function to update git based packages, using the
'genericUpdater' function.
- Rework argument passing to the `list-git-tags' and 'list-archive-two-level-versions' scripts.
- Replace 'genericUpdater' plus 'list-git-tags' by 'gitUpdater'
2022-02-21 13:01:49 -03:00
R. Ryantm
4871aa3fa9 erlang-ls: 0.23.0 -> 0.23.1 2022-02-18 06:16:15 +00:00
R. RyanTM
825458c16a
erlang-ls: 0.22.0 -> 0.23.0
(#160146)
2022-02-16 22:25:17 +01:00
R. Ryantm
c6174da342 erlang-ls: 0.21.2 -> 0.22.0 2022-02-10 11:59:37 -08:00
R. RyanTM
5f250ebdb9
erlang-ls: 0.20.0 -> 0.21.2 (#148837) 2022-01-13 09:18:17 +09:00
R. RyanTM
e49c9fe1c0 erlang-ls: 0.19.0 -> 0.20.0 2021-10-05 10:53:57 +09:00
R. RyanTM
a0c0f33910 erlang-ls: 0.18.0 -> 0.19.0 2021-09-11 16:10:57 +00:00
David
4d322f3e58 erlang-ls: add updateScript
To ensure dependencies are also updated
2021-08-18 19:58:23 +09:00
R. RyanTM
b0e4309dd5 erlang-ls: 0.17.0 -> 0.18.0 2021-08-15 23:16:44 +09:00
David
71394c3447 erlang-ls: skip tests on darwin 2021-08-01 07:50:06 +09:00
happysalada
b97a23cdd5 rebar3-release: remove name attribute 2021-07-08 20:13:42 +09:00
David
020af1c6f6 erlang-ls: 0.16.0 -> 0.17.0 2021-06-15 07:09:25 +02:00
David
e5d8f1adc9 erlang-ls: add checkPhase 2021-06-09 12:14:12 +09:00
David
9b4ee111e6 erlang-ls: 0.15.0 -> 0.16.0 2021-06-01 08:42:57 +09:00
David
049ecc9716 erlang-ls: use rebar3Relx 2021-05-21 17:24:45 +09:00
David
814d9bac11 erlang-ls: add erlang to buildInputs
This enables patch-shebangs to find `escript` and patch the interpreter
path correctly
2021-05-17 10:26:48 +09:00
David
32c14664e8 erlang-ls: init at 0.15.0 2021-05-13 08:54:43 +09:00