| 26 Nov 2024 |
iqubic (she/her) | Is there anything I can do to get finite-typelits to work for me? | 17:56:48 |
maralorn | 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 | Is finite-typelits in stackage? | 18:02:17 |
iqubic (she/her) | It is. | 18:02:24 |
iqubic (she/her) | Stackage has 0.2.1.0 | 18:02:40 |
maralorn | Then nixos shouldn’t be on 0.2.1.0. | 18:02:45 |
maralorn | Stackage Nightly maybe. | 18:02:50 |
iqubic (she/her) | I see. | 18:03:10 |
iqubic (she/her) | Is there a way I can get this to compile? | 18:03:17 |
maralorn | Yes. | 18:03:24 |
maralorn | An override. something between doJailbreak, .override { finite-typelits = fina.finite_typelits_0_2_1_0} and final.callHackage will help. | 18:04:43 |
maralorn | If you share some code I can be more specific. | 18:05:18 |
iqubic (she/her) | This is my shell.nix: https://dpaste.com/E8U7NGMEY | 18:06:20 |
iqubic (she/her) | I'm telling it to use this cabal file: https://dpaste.com/FY4FTT7VB | 18:06:43 |
maralorn | Just saying ghc910 is much less tested than ghc96, maybe you can fix this by using our default compiler version? | 18:07:52 |
iqubic (she/her) | Oh, perhaps. | 18:08:25 |
maralorn | Yes, 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-linux | 18:08:45 |
iqubic (she/her) | How do I switch to the default? | 18:08:56 |
maralorn | replace packages.ghc910 by haskellPackages | 18:09:16 |
iqubic (she/her) | Yeah, I'm trying that now. | 18:09:48 |
iqubic (she/her) | That works! | 18:09:53 |
sterni (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 |
emily | time to use the two last characters instead | 22:58:25 |
| 27 Nov 2024 |
| soiledit left the room. | 18:14:30 |
| 28 Nov 2024 |
lazyLambda | 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 | 18:41:40 |
maralorn | Huh. 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 | There has to be a hackage channel somewhere … | 18:53:34 |
alexfmpe | 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 | * I've wanted this myself but don't see how to make it ergonomic | 20:01:27 |
maralorn | The lib or the haddock feature? | 20:02:36 |