Commit Graph

630 Commits

Author SHA1 Message Date
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
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