!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

722 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org145 Servers

Load older messages


SenderMessageTime
1 Jun 2021
@maralorn:maralorn.demaralornBut I know now trivial heuristic for that.09:45:57
@maralorn:maralorn.demaralornBut is aeson-aarch64 broken in nixpkgs?09:46:25
@Las:matrix.orgLasHaven't checked09:46:44
@maralorn:maralorn.demaralornI mean if you can substitute it you don‘t need to build it, right?09:47:05
@sternenseemann:systemli.orgsterni (he/him)https://hydra.nixos.org/build/14412698009:47:09
@Las:matrix.orgLas
に返信 @maralorn:maralorn.de
I mean if you can substitute it you don‘t need to build it, right?
I'm using GHC 9.0.1
09:48:41
@sternenseemann:systemli.orgsterni (he/him)oh09:48:50
@Las:matrix.orgLasSo that's likely why09:48:48
@maralorn:maralorn.demaralornOh, okay.09:48:53
@Las:matrix.orgLasI can't find any job for it09:48:54
@maralorn:maralorn.demaralornYeah, we don‘t support that yet. Too much breakage …09:49:09
@Las:matrix.orgLasWish the GHC team would make backward compatible releases like rustc09:49:38
@maralorn:maralorn.demaralornAlthough, I am almost certain that e.g. hls depends on aeson so if we had that build hydra would at least try …09:50:50
@maralorn:maralorn.demaralornBut we recently disabled that job because hls is not supported on ghc 9 anyways.09:51:05
@maralorn:maralorn.demaralorn * But we recently disabled that job because hls is not yet supported on ghc 9 anyways.09:51:12
@sternenseemann:systemli.orgsterni (he/him)well the base update breaks more than the GHC update itself right09:51:22
@sternenseemann:systemli.orgsterni (he/him)working on fixing tests.writers for darwin currently11:34:32
@sternenseemann:systemli.orgsterni (he/him)seems like there are some severe darwin regressions for GHC, it seems to be incapable of producing any binaries unless it is in an environment with stdenv11:35:02
@sternenseemann:systemli.orgsterni (he/him)so it works within a nix-shell and a build which is probably why no one noticed11:35:15
@sternenseemann:systemli.orgsterni (he/him)we really should separate the GHC wrapper script and the build itself11:41:53
@sternenseemann:systemli.orgsterni (he/him)changing a line in the script requires a full GHC build11:42:04
@Las:matrix.orgLas I am following https://haskell4nix.readthedocs.io/nixpkgs-users-guide.html#how-to-build-a-stand-alone-project, and doing nix-shell as described doesn't give me a cabal. Is the guide outdated? I've updated my nixpkgs recently. 13:31:40
@maralorn:maralorn.demaralorn Las: That guide is written by someone who has cabal installed globally anyways. It doesn‘t claim, that it installs cabal-install, it just claims that calling cabal-install works. So if you don‘t want to install cabal globally you should add it to your shell.nix. And we should improve the documentation on that point. 13:34:35
@Las:matrix.orgLasWell that means it should make cabal available13:34:56
@Las:matrix.orgLasIt claims if I can do that then running it works13:35:02
@Las:matrix.orgLasAlso, how would it work with --pure?13:35:48
@maralorn:maralorn.demaralornIt wouldn‘t.13:35:56
@maralorn:maralorn.demaralornYou are right.13:36:00
@maralorn:maralorn.demaralornAnyways it has nothing to do with your nixpkgs being new. It’s just impure documentation.13:36:51
@maralorn:maralorn.demaralorn I think you should do something with shellFor and we should explain that in the docs. 13:37:46

Show newer messages


Back to Room ListRoom Version: 6