!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

726 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/146 Servers

Load older messages


SenderMessageTime
30 Nov 2024
@prsteele:matrix.orgPatrick Steele

nix develop --command cabal test has the same issue as a naked cabal test; it tries to go to Hackage.

I'm still not sure why nix-shell --run 'cabal test' would not "build the project outside Nix"

21:33:37
@prsteele:matrix.orgPatrick Steele I suppose I could literally just nix build .#thePackage and rely on Nix running the tests... 21:34:55
@alexfmpe:matrix.orgalexfmpeWell it builds the deps as nix derivations, and enters a nix-prepared shell environment22:12:30
@alexfmpe:matrix.orgalexfmpeBut then does a normal cabal build22:12:35
@alexfmpe:matrix.orgalexfmpe
In reply to @prsteele:matrix.org

nix develop --command cabal test has the same issue as a naked cabal test; it tries to go to Hackage.

I'm still not sure why nix-shell --run 'cabal test' would not "build the project outside Nix"

Disable hackage on cabal.project?
22:13:00
1 Dec 2024
@prsteele:matrix.orgPatrick Steelethat seems like a better solution than what I had cobbled together, thanks01:56:25
@aspendowntime:matrix.org@aspendowntime:matrix.org changed their display name from Oktawia (it/they/she) to Nerissa (it/they/she).10:12:34
@aspendowntime:matrix.org@aspendowntime:matrix.org changed their display name from Nerissa (it/they/she) to Nerissa (it/she).18:51:11
3 Dec 2024
@augyg:matrix.orglazyLambda
In reply to @alexfmpe:matrix.org
if one could have a TH pass or whatever typecheck the string literals, that'd be interesting
https://github.com/augyg/ClasshSS this is it currently. Ergonomic-ness in progress and I need to make better documentation to begin with
00:57:32
@augyg:matrix.orglazyLambda
In reply to @alexfmpe:matrix.org
if one could have a TH pass or whatever typecheck the string literals, that'd be interesting
* https://github.com/augyg/ClasshSS/tree/gs/modules this is it currently. Ergonomic-ness in progress and I need to make better documentation to begin with
00:58:59
@sternenseemann:systemli.orgsterni (he/him)gosh I really don't wanna do the GHA change for the merge workflow. doesn't seem like an enjoyable experiencing testing something by force pushing to a test repo20:18:20
@sternenseemann:systemli.orgsterni (he/him)You would think they'd somehow add a way to sort of test actions offline at some point…20:19:03
@maralorn:maralorn.demaralornIf we sync the timing of the jobs do we really knew to do the merge base thing?20:51:50
@sternenseemann:systemli.orgsterni (he/him)yes. the merge from master to staging-next or from staging-next to staging might fail while the merge from master to haskell-updates succeeds21:32:18
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
yes. the merge from master to staging-next or from staging-next to staging might fail while the merge from master to haskell-updates succeeds
Yeah, that's what I thought.
22:35:42
@maralorn:maralorn.demaralorn * 22:35:51
4 Dec 2024
@turkishcomrade:matrix.orgturkishcomrade joined the room.05:28:50
5 Dec 2024
@hamyn:matrix.orghamyn joined the room.15:27:08
8 Dec 2024
@iampyu:matrix.org@iampyu:matrix.org joined the room.20:33:21
@iampyu:matrix.org@iampyu:matrix.org set a profile picture.20:38:56
9 Dec 2024
@maralorn:maralorn.demaralorn @sternenseemann:systemli.org Oh, damn. Stackage bump to 9.8 is incoming. 09:32:52
@maralorn:maralorn.demaralornPossibly already today.09:33:31
@alexfmpe:matrix.orgalexfmpefinally10:33:16
@sternenseemann:systemli.orgsterni (he/him) maralorn: I was thinking we should switch in the next iteration anyways 12:43:31
@sternenseemann:systemli.orgsterni (he/him)although I'm wondering if it's worth bumping one more time on the current LTS directly12:43:43
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
maralorn: I was thinking we should switch in the next iteration anyways
Huh, why?
12:44:06
@sternenseemann:systemli.orgsterni (he/him)queue is under 100k builds maybe we can reenable the jobset again soon :|12:44:10
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
although I'm wondering if it's worth bumping one more time on the current LTS directly
Yeah, thought so too.
12:44:15
@sternenseemann:systemli.orgsterni (he/him)I mean we were talking about switching to nightly anyways?12:44:23
@maralorn:maralorn.demaralornYeah, true.12:44:42

Show newer messages


Back to Room ListRoom Version: 6