!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
26 Nov 2024
@mequbic:matrix.orgiqubic (she/her) Is there anything I can do to get finite-typelits to work for me? 17:56:48
@maralorn:maralorn.demaralorn
In reply to @mequbic:matrix.org
Actually, according to https://hackage.haskell.org/package/finite-typelits NixOS is still using 0.1.6.0
That is consistent with your error message.
18:01:49
@maralorn:maralorn.demaralornIs finite-typelits in stackage?18:02:17
@mequbic:matrix.orgiqubic (she/her)It is.18:02:24
@mequbic:matrix.orgiqubic (she/her)Stackage has 0.2.1.018:02:40
@maralorn:maralorn.demaralornThen nixos shouldn’t be on 0.2.1.0.18:02:45
@maralorn:maralorn.demaralornStackage Nightly maybe.18:02:50
@mequbic:matrix.orgiqubic (she/her)I see. 18:03:10
@mequbic:matrix.orgiqubic (she/her)Is there a way I can get this to compile?18:03:17
@maralorn:maralorn.demaralornYes.18:03:24
@maralorn:maralorn.demaralorn An override. something between doJailbreak, .override { finite-typelits = fina.finite_typelits_0_2_1_0} and final.callHackage will help. 18:04:43
@maralorn:maralorn.demaralornIf you share some code I can be more specific.18:05:18
@mequbic:matrix.orgiqubic (she/her)This is my shell.nix: https://dpaste.com/E8U7NGMEY18:06:20
@mequbic:matrix.orgiqubic (she/her)I'm telling it to use this cabal file: https://dpaste.com/FY4FTT7VB18:06:43
@maralorn:maralorn.demaralornJust saying ghc910 is much less tested than ghc96, maybe you can fix this by using our default compiler version?18:07:52
@mequbic:matrix.orgiqubic (she/her)Oh, perhaps.18:08:25
@maralorn:maralorn.demaralornYes, as you can see here finite-typelits works fine on the default compiler: https://hydra.nixos.org/job/nixpkgs/haskell-updates/haskellPackages.finite-typelits.x86_64-linux18:08:45
@mequbic:matrix.orgiqubic (she/her)How do I switch to the default?18:08:56
@maralorn:maralorn.demaralornreplace packages.ghc910 by haskellPackages18:09:16
@mequbic:matrix.orgiqubic (she/her)Yeah, I'm trying that now.18:09:48
@mequbic:matrix.orgiqubic (she/her)That works!18:09:53
@sternenseemann:systemli.orgsterni (he/him)
In reply to @emilazy:matrix.org
time for three-character prefixes?
well prefixes aren't evenly distributed. The problem directory is especially pkgs/by-name/li, pkgs/by-name/lib would not be a lot smaller…
22:55:21
@emilazy:matrix.orgemilytime to use the two last characters instead22:58:25
27 Nov 2024
@susscrofa:matrix.orgsoiledit left the room.18:14:30
28 Nov 2024
@augyg:matrix.orglazyLambdaI dont think this has much to do with nix so redirect me where I should ask if so, but I'm creating a typified Tailwind and CSS library and to make it easier to learn I'm wondering if I can use haddock comments ( -- | ) or something else to impact search So for example, if someone was looking at the package on hackage, they could search for "width" or "w-48" (tailwind) and it would show them my enum for Width 18:41:40
@maralorn:maralorn.demaralornHuh. Well by default neither the hackage search, hoogle nor the haddock in package search seem to be searching through haddocks. Only bindings and type signatures.18:52:44
@maralorn:maralorn.demaralornThere has to be a hackage channel somewhere …18:53:34
@alexfmpe:matrix.orgalexfmpe
In reply to @augyg:matrix.org

I dont think this has much to do with nix so redirect me where I should ask if so, but I'm creating a typified Tailwind and CSS library and to make it easier to learn I'm wondering if I can use haddock comments ( -- | ) or something else to impact search

So for example, if someone was looking at the package on hackage, they could search for "width" or "w-48" (tailwind) and it would show them my enum for Width

I've wanted myself but don't see how to make it ergonomic
20:01:18
@alexfmpe:matrix.orgalexfmpe* I've wanted this myself but don't see how to make it ergonomic20:01:27
@maralorn:maralorn.demaralornThe lib or the haddock feature?20:02:36

Show newer messages


Back to Room ListRoom Version: 6