Commit graph

614 commits

Author SHA1 Message Date
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
Malte Brandy d71129e1af
haskell.packages.ghc901.haskell-language-server: Fix build 2021-09-18 03:17:47 +02:00
maralorn 354752c682
Merge pull request #135838 from sternenseemann/ghc-8.10.7
ghc: 8.10.6 -> 8.10.7
2021-08-27 19:34:38 +02:00
sternenseemann 9eca744cc0 ghc: 8.10.6 -> 8.10.7
https://www.haskell.org/ghc/download_ghc_8_10_7.html
2021-08-27 00:42:51 +02:00
maralorn 823ff946b8
Merge pull request #135392 from r-ryantm/auto-update/vaultenv
vaultenv: 0.13.1 -> 0.13.3
2021-08-24 15:28:30 +02:00
R. RyanTM 1ef4369495 vaultenv: 0.13.1 -> 0.13.3 2021-08-23 06:37:19 +00:00
sternenseemann cb330ce4f0 ghc: 8.10.4 -> 8.10.6
The only big change is required for darwin since GHC 8.10.5 now
runs xattr in the install phase on darwin:

* 11e1dcde0d
* ec451cac39

Unfortunately, it uses the host /usr/bin/xattr by default which is
present in the build due to a lack of sandboxing on darwin. That xattr
version however still requires Python 2.7 whereas Python 3.8 is in PATH
in our build. We solve this by setting the XATTR environment variable.

We can't use python3Packages.xattr since GHC expects Apple's fork of
xattr which provides some extra flags to utilize.

Co-authored-by: Cheng Shao <cheng.shao@tweag.io>
2021-08-14 17:12:39 +02:00
Gabriel Volpe 4ea29081fb
dconf2nix: 0.0.7 -> 0.0.8 2021-05-25 17:54:47 +02:00
sternenseemann f9f78b82cf ihaskell: clean up unnecessary doJailbreaks 2021-05-04 19:00:51 +02:00
Vaibhav Sagar 48e4953c0c ihaskell: remove unnecessary ihaskell-display package 2021-05-04 18:34:50 +02:00
sternenseemann 86c975b00c haskell-hyper: refactor expression
* Use stdenvNoCC
* Utilize unpackPhase, allow for patching
2021-05-04 13:59:26 +02:00
sternenseemann 48ba23210b haskell-hyper: 0.1.0.2 -> 0.2.3.0 2021-05-04 13:59:26 +02:00
Peter Simons bfc21fc316 haskell-language-server: drop obsolete ghc-8.6.5 from the wrapper 2021-03-12 21:29:55 +01:00
Jakob Leifhelm bcadd3e19c
haskell-language-server: ghc 8.10.3 -> ghc 8.10.4 2021-02-21 19:28:11 +01:00
Jakob Leifhelm 16c10f8b05
haskell-language-server: default ghc 8.10.2 -> 8.10.3 2021-02-07 10:15:58 +01:00
Malte Brandy bac09b7658 haskell-language-server: Use hackage version and cleanup 2021-02-05 23:04:46 +01:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Malte Brandy 7829f94244
haskelPackages.haskell-language-server: 0.7.1 -> 0.8.0 2021-01-08 20:57:02 +01:00
Joe Hermaszewski a453036794 haskellPackages.haskell-language-server: 0.7.0 -> 0.7.1 2020-12-18 20:27:54 +01:00
Joe Hermaszewski 63e5171ff8 haskell-language-server: Make update.sh fetch latest tagged release 2020-12-18 20:27:53 +01:00
Joe Hermaszewski c31e766a24 haskellPackages.haskell-language-server: 0.6.0 -> 0.7.0
Remove hls-brittany as it's no longer necessary

Fix the update script to include hls-explicit-imports-plugin and
hls-retrhls-retrie-plugin
2020-12-18 20:27:53 +01:00
Gabriel Volpe 63f6946d57
dconf2nix: 0.0.6 -> 0.0.7 2020-12-03 19:39:49 +01:00
Malte Brandy 13f96d5d65 haskell-language-server: 0.6.0rc -> 0.6.0 2020-11-13 21:37:56 +01:00
Malte Brandy bf29c147c3 haskellPackages.haskell-language-server: Fix build
In preparation of the upcoming 0.6.0 release I wanted to fix hls.

It introduces two new plugin packages, which are not on hackage yet.

I remove apply-refact overrides, because current apply-refact versions
are compatible with all ghcs we support, according to their changelog.

I override more of the hls dependencies globally on the whole package
set, to avoid a lot of duplicate compilations. And because @peti changed
my mind about this being a good practice.

hls now uses a released version of ghcide
2020-11-13 21:37:56 +01:00
maralorn 0756b8a7bf
haskell-language-server: Init wrapper for multiple ghc versions at 0.5.0 (#99519)
* haskell-language-server: Init wrapper for multiple ghc versions at 0.5.0

* Fix closure size

* docs: Add hls section to Haskell part of manual
2020-10-10 16:01:57 +02:00
maralorn 9bf8b98045 haskell-language-server: 0.4.0 -> 0.5.0 (#99508) 2020-10-09 21:39:35 +02:00
Gabriel Volpe 70b417f5f9 dconf2nix: 0.0.5 -> 0.0.6 2020-09-21 10:58:35 +02:00