!RbXGJhHMsnQcNIDFWN:nixos.org

Nix Haskell

602 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure124 Servers

Load older messages


SenderMessageTime
5 May 2024
@alexfmpe:matrix.orgalexfmpebut at least they seemed to build right after callCabal2nix23:36:44
@alexfmpe:matrix.orgalexfmpeobelisk-run needs iproute injected but that's about it23:37:03
@maralorn:maralorn.demaralorn
In reply to @alexfmpe:matrix.org
there's also the obelisk libs, and I don't think nixpkgs will help there
Yeah, of course. But at least my private project only uses reflex, not obelisk.
23:38:01
@alexfmpe:matrix.orgalexfmpeobelisk-command is the problem, though it's mostly just needed for the assets/configs23:38:23
@alexfmpe:matrix.orgalexfmpe
In reply to @maralorn:maralorn.de
Yeah, of course. But at least my private project only uses reflex, not obelisk.
ah right
23:38:30
@maralorn:maralorn.demaralorn
In reply to @alexfmpe:matrix.org
obelisk-command is the problem, though it's mostly just needed for the assets/configs
Yeah, really unhappy how nix expressions are backed into that command.
23:39:56
@alexfmpe:matrix.orgalexfmpeyeah I wrangled with that a bit, it's not great23:40:20
@alexfmpe:matrix.orgalexfmpethink it's a symptom of excessively incremental dev23:40:43
@alexfmpe:matrix.orgalexfmpehow do we already have 9.10 and 9.12 version of configuration-ghc-*.nix ?23:41:28
@alexfmpe:matrix.orgalexfmpe well, they're just setting the base libraries to null 23:41:58
@alexfmpe:matrix.orgalexfmpeguess it's early placeholders23:42:31
7 May 2024
@dfordivam:matrix.orgDivam alexfmpe: are you trying to build reflex-dom with latest ghc's JS backend support? 00:50:57
@dfordivam:matrix.orgDivam changed their display name from dfordivam to Divam.01:12:34
@alexfmpe:matrix.orgalexfmpeyeah pretty much, thought I don't expect to be able to actually use it until at least 9.12 as 9.10 still doesn't have the compactor and output code size is very bigly10:25:02
@alexfmpe:matrix.orgalexfmpepretty close to building reflex-dom-core, but reflex-dom itself does some weird eval error about glibc10:26:51
@alexfmpe:matrix.orgalexfmpeprobably because the cabal2nix by default generates for the platform it's running on or something 10:27:17
@gilligan:matrix.org@gilligan:matrix.org left the room.18:03:52
@alexfmpe:matrix.orgalexfmpedoes doJailbreak not apply to build-depends behind conditional blocks or something?19:41:09
@alexfmpe:matrix.orgalexfmpeit seems to have no effect on these two in particular: https://github.com/reflex-frp/reflex-dom/blob/5d1dbde4471d7f9be60977b972ab0219026ff5dc/reflex-dom-core/reflex-dom-core.cabal#L170-L17319:41:28
@alex:tunstall.xyzAlex
In reply to @alexfmpe:matrix.org
does doJailbreak not apply to build-depends behind conditional blocks or something?
Correct.
19:51:48
@maralorn:maralorn.demaralorn
In reply to @alexfmpe:matrix.org
does doJailbreak not apply to build-depends behind conditional blocks or something?
Exactly
19:56:05
@alexfmpe:matrix.orgalexfmpeinvasive sed surgery it is then19:58:10
@alex:tunstall.xyzAlex For something less invasive you could write a patch and appendPatch it. 19:59:07
@alexfmpe:matrix.orgalexfmpewell I do have a PR upstream bumping the bounds20:00:10
@alexfmpe:matrix.orgalexfmpebut we're already applying a few of them and they'll get conflicts with eachother20:01:05
@alexfmpe:matrix.orgalexfmpe hmm maralorn I guess less disruptive thing is to grab your bounds PR and modify it manually to get higher bounds ? 20:11:11
@alexfmpe:matrix.orgalexfmpesince upstream might sit on the PRs for another year20:11:24
@alexfmpe:matrix.orgalexfmpe
In reply to @alexfmpe:matrix.org
hmm maralorn I guess less disruptive thing is to grab your bounds PR and modify it manually to get higher bounds ?
i.e. include as a local patch
20:14:05
@mequbic:matrix.orgiqubic (she/her) So, I've been looking into doing GUI programming with Haskell, and I see that monomer exists, and I'd love to try out that library. How can I do that on NixOS? https://github.com/fjvallarino/monomer 20:17:03
@alexfmpe:matrix.orgalexfmpe
In reply to @alexfmpe:matrix.org
it seems to have no effect on these two in particular: https://github.com/reflex-frp/reflex-dom/blob/5d1dbde4471d7f9be60977b972ab0219026ff5dc/reflex-dom-core/reflex-dom-core.cabal#L170-L173
wow this conditional doesn't even make sense because they unconditionally depend on dependent-sum-template anyway and that depends on template-haskell
20:17:23

Show newer messages


Back to Room ListRoom Version: 6