Commit Graph

641 Commits

Author SHA1 Message Date
R. Ryantm
8ae2bf1e60 dconf2nix: 0.0.12 -> 0.1.1 2023-11-28 12:21:32 +01:00
github-actions[bot]
2fe90802da
Merge master into haskell-updates 2023-11-10 00:12:24 +00:00
Profpatsch
77908eaac0 haskell-language-server: empty list removes all formatters
Based on the discussion in
https://github.com/NixOS/nixpkgs/pull/261848
2023-11-09 17:27:20 +01:00
Profpatsch
8e803f2fb9 haskell-language-server: keep only formatters the user wants
This introduces a list of `supportedFormatters` that are the ones that
should be compiled into hls. Removes a nontrivial amount of transitive
dependencies if only one formatter is used in a project.
2023-11-09 17:27:20 +01:00
Profpatsch
529cbf1a03 haskell-language-server: check supportedGhcVersions in assert
This produces a better error message than just returning the error of
the `haskell.packages."ghc${version}"` interpolation.
2023-11-09 17:27:20 +01:00
Profpatsch
811db8c616 haskell-language-server: reformat code a bit & document better 2023-11-09 17:27:20 +01:00
sternenseemann
2ec6f63534 haskell.compiler.ghcHEAD: 9.7.20230527 -> 9.9.20231014 2023-11-06 15:26:58 +01:00
github-actions[bot]
d47a287c45
Merge master into haskell-updates 2023-07-13 00:15:48 +00:00
sternenseemann
1eddb04ac9 haskell.compiler.{ghc962,ghcHEAD}: no rendered src on aarch64-linux
This saves just enough space on aarch64-linux so that the hadrian built
GHCs are under the 3GB Hydra output limit:

| compiler | before     | after      | Δ          |
|----------|------------|------------|------------|
| ghc962   | 3241234736 | 2810740560 | -430494176 |
| ghcHEAD  | 3341288328 | 2902760872 | -438527456 |

The total output size can be calculated using (don't forget to use
aarch64-linux):

```
nix-build -A <compiler> | xargs nix path-info -s | awk '{ s += $2 }; END { print s }'
```
2023-07-10 23:14:54 +02:00
R. Ryantm
4716cb5cff vaultenv: 0.15.1 -> 0.16.0 2023-07-09 01:39:42 +00:00
maralorn
59e94be9fe
ghc: update default version 9.2.x -> 9.4.x 2023-06-28 20:03:53 +02:00
Naïm Favier
9d30031014 haskell.compiler.ghcHEAD: 9.7.20230406 -> 9.7.20230505
04b80850...983ce558

Adds support for callbacks to the JS backend.
2023-05-09 18:16:07 +02:00
Drew Hess
efca7bec19 vaultenv: 0.14 -> 0.15.1. 2023-01-02 16:26:22 +01:00
Dennis Gosnell
d116ede4c5
vaultenv: mark broken because doesn't compile on ghc92 2022-12-24 14:24:39 +09:00
github-actions[bot]
95f07a6061
Merge master into haskell-updates 2022-12-16 00:13:15 +00:00
Artturin
05a2dfd674 lib.replaceChars: warn about being a deprecated alias
replaceStrings has been in nix since 2015(nix 1.10)

so it is safe to remove the fallback

d6d5885c15
2022-12-15 22:25:51 +02:00
maralorn
ca3fb23199 haskell-language-server: Update wrapper to ghc 92 and don‘t provide version less executable 2022-11-24 15:32:48 +01:00
sternenseemann
3fb516a5d9 ihaskell: test on Hydra, as mistune is no longer marked insecure 2022-10-27 18:55:30 +02:00
sternenseemann
9023b0173f ihaskell: temporarily remove ihaskell-diagrams from the environment
ihaskell-display was changed recently to no longer use the
switchToTmpDir IO action. This change also affected ihaskell-diagrams,
but only a new version of ihaskell-display has been released.
ihakell-diagrams' latest hackage version thus depends on a removed IO
action from ihaskell-display and can't be compiled.
2022-10-27 18:53:52 +02:00
R. Ryantm
46872026bd dconf2nix: 0.0.11 -> 0.0.12 2022-10-18 12:38:50 +02:00
sternenseemann
da60f2dc9c haskell.compiler.ghcHEAD: 9.3.20220406 -> 9.5.20220921
Initial port of our GHC Nix expressions to the new hadrian build system,
as it has become required after 9.4. Unfortunately there are some
regressions affecting us, namely the inability to install a GHC
cross-compiler at the moment (see issue linked in relevant error
message). This means that a lot of specific configuration snippets for
cross-platforms and static compilation have been ported from make
speculatively, as we are unable to test them for the moment.
2022-09-22 16:18:17 +02:00
maralorn
bdcbbc7bd2 haskell-language-server: Default toplevel attribute to dynamic linking and one ghc version 2022-09-21 16:39:12 +02:00
maralorn
fae2ff5c03 haskell.{compiler,packages}: Add aliases without minor versions 2022-09-21 05:51:28 +02:00
Artturi
79c42aa06c
Merge pull request #186564 from Artturin/crossevalfixes
Fixes for cross-compilation
2022-08-27 17:49:00 +03:00
Artturin
c6568adb00 treewide: makeWrapper buildInputs to nativeBuildInputs
most found with https://github.com/siraben/nix-lint
2022-08-16 13:14:19 +03:00
Dennis Gosnell
7fdb28022f
ihaskell: don't build on hydra
ihaskell has an indirect dependency on the Python package mistune, which
is currently marked as insecure.
2022-08-15 13:51:15 +09:00
sternenseemann
7f909b041b haskell.compiler: ghc923 -> ghc924
https://www.haskell.org/ghc/download_ghc_9_2_4.html
2022-07-28 18:09:33 +02:00
sternenseemann
90099ac5fa haskell.compiler: ghc922 -> ghc923
https://www.haskell.org/ghc/download_ghc_9_2_3.html

Since the tarball is generated by Hadrian, neither autoreconf nor ./boot
is executed so ./configure and ghc.mk is missing.
2022-05-28 21:11:07 +02:00
Dennis Gosnell
9cd8281b8b
hyper-haskell-server-with-packages: mark broken 2022-04-21 10:28:50 +09:00
sternenseemann
60c9963d40 Merge remote-tracking branch 'origin/master' into haskell-updates 2022-03-22 15:24:55 +01:00
Felix Buehler
9aeb5a8d01 haskellPackages.dconf2nix: switch to fetchFromGitHub 2022-03-14 19:32:50 +01:00
sternenseemann
47f837f5e8 haskell.compiler: ghc921 -> ghc922
https://www.haskell.org/ghc/download_ghc_9_2_2.html
2022-03-09 16:42:07 +01:00
Renaud
c45608c6cc
Merge pull request #159826 from r-ryantm/auto-update/vaultenv
vaultenv: 0.13.3 -> 0.14.0
2022-03-05 21:26:43 +01:00
sternenseemann
70bddadaee haskell-language-server: fix reference logic
If we are linking dynamically, it's practically no use removing
references, as we depend on GHC either way via linking.

I've also elected to keep the references to the data outputs in all
cases — they are a bit arcane (there's no easy way to tell they
definitely are not necessary) and don't contribute too much to the
overall closure size.
2022-02-14 18:36:53 +01:00
sternenseemann
288f2ad360 haskell-language-server: default to statically linking haskell deps
This means we don't use the system linker by default, but decreases
closure size significantly, as we no longer reference every supported
version GHC.
2022-02-14 18:36:53 +01:00
sternenseemann
632fc5f2b1 haskell-language-server: retain old postInstall if any 2022-02-14 18:36:53 +01:00
sternenseemann
dcb9ff59ca haskell-language-server: make linking configureable in wrapper
haskell-language-server will now default to building a shared
executable, as upstream does, complete with a huge closure. By passing
{ dynamic = false; } via override, it is still possible to build a
"statically linked" variant of HLS, as it used to be.

Note: Before this change HLS would fail to compile on aarch64.
2022-02-14 18:36:53 +01:00
R. Ryantm
3d4b5d990f vaultenv: 0.13.3 -> 0.14.0 2022-02-13 11:50:03 +00:00
Sandro
17cf0234c4
Merge pull request #157497 from Stunkymonkey/treewide-pname-version-9 2022-02-07 00:37:14 +01:00
Felix Buehler
814b63e93e treewide: rename name to pname&version 2022-02-06 21:45:12 +01:00
sternenseemann
5dac0d9723 haskell-language-server: disable GHC 9.2.1 by default on aarch64
GHC 9.2.1 is still very much broken on aarch64, unfortunately.
2022-02-06 13:24:29 +01:00
Malte Brandy
b20fb1ba49 haskell.packages.ghc921.haskell-language-server: Fix build and enable 2022-02-05 03:15:11 +01:00
R. Ryantm
ba7e2e7b35 dconf2nix: 0.0.10 -> 0.0.11 2022-01-21 05:32:17 +00:00
sternenseemann
41eef0059d haskell.compiler: ghc901 -> ghc902
https://www.haskell.org/ghc/download_ghc_9_0_2.html
2021-12-26 10:00:37 +01:00
R. Ryantm
f7cbc57cd9 dconf2nix: 0.0.8 -> 0.0.10 2021-12-08 05:31:39 +00:00
sternenseemann
65d105da1e hyper-haskell: remove broken flag
This was incorrect: https://github.com/NixOS/nixpkgs/pull/142641#issuecomment-961757712
2021-11-15 17:40:50 +01:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
(cdep)illabout
316dee0197 hyper-haskell: mark broken
hyper-haskell depends on electron-10.4.7, which is marked insecure.
2021-11-05 15:01:17 +09:00
Felix Buehler
3e5720426b haskellPackages.vaultenv: switch to fetchFromGitHub 2021-10-30 13:10:23 -07:00
Malte Brandy
c077f5ae57
haskell-language-server: Remove useless major version aliases
The aliases, like haskell-language-server-8.10 do not get discovered by the hls-wrapper.
Only `haskell-language-server` and e.g. `haskell-languag-server-8.10.7` work.
I got that wrong when introducing those aliases.
2021-10-04 22:05:38 +02:00