!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

724 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.org144 Servers

Load older messages


SenderMessageTime
26 Jan 2025
@lambdatheultimatealias:matrix.orglambdatheultimatealias I have a package that depends on amazonka-core which is broken on haskell-updates now. I know cachix has the same problem. Do I need to do anything? Is there a plan for amazonka-core? 14:15:27
@collinarnett:matrix.orgCollin ArnettYeah I guess that makes sense. I think it would be really cool if Nix was more like a library I could call rather than wrapping everything in Nix.14:56:12
@maralorn:maralorn.demaralorn Collin Arnett: I hear that a lot. 15:11:15
@sternenseemann:systemli.orgsterni (he/him) lambdatheultimatealias: there are no concrete plans, no. We'd appreciate if someone could look into amazonka. 15:35:47
@lambdatheultimatealias:matrix.orglambdatheultimatealias sterni: Ok. It appears somebody else got there first. I don't know if it built yet. Hopefully this does the trick!
https://github.com/mpscholten/nixpkgs/commit/c1cfff548f951e57f09a9e32cc4bc7e1048429e3
17:18:00
@quentinlg:matrix.orgQuentin Le Guennec joined the room.19:40:09
@lambdatheultimatealias:matrix.orglambdatheultimatealiasHere's a more helpful link. It looks like there's a PR to be reviewed already: https://github.com/NixOS/nixpkgs/pull/37656420:10:36
@hellwolf:matrix.orghellwolf
nix-shell$ ghc-pkg list --global
/nix/store/qj54vnsx6nk18nmy8r21w7src01hbq2g-ghc-9.10.1/lib/ghc-9.10.1/lib/package.conf.d
...

How do you get that /nix/store/qj54vnsx6nk18nmy8r21w7src01hbq2g-ghc-9.10.1/lib/ghc-9.10.1/lib/package.conf.d path programatically?

21:56:10
@hellwolf:matrix.orghellwolf
$ ghc --print-global-package-db
/nix/store/qj54vnsx6nk18nmy8r21w7src01hbq2g-ghc-9.10.1/lib/ghc-9.10.1/lib/package.conf.d

23:25:49
27 Jan 2025
@b:chreekat.netchreekatI've looked at this some more, comparing results on different commits, and I haven't found any reason to think I'm wrong yet12:51:51
@b:chreekat.netchreekatI did see a commit around that time that reverted a stackage bump because all-cabal-hashes apparently wasn't updating? I need to ask more questions about that. But could it have had an effect?12:52:55
@ahaskeller:matrix.orgahaskeller joined the room.13:52:41
@sternenseemann:systemli.orgsterni (he/him)hm refined github has a feature where you can alt click on the hidden comments thing and it tries to load all of them 17:06:41
@sternenseemann:systemli.orgsterni (he/him)it's still pretty clunky but better than clicking a million times17:06:57
@profpatsch:augsburg.oneProfpatschsternenseemann: IT WHAT?17:29:29
@profpatsch:augsburg.oneProfpatschTIL17:29:35
@sternenseemann:systemli.orgsterni (he/him)I’ve installed it now for this purpose only, haskell-updates is unusable without it now with the extra noise GitHub’s lack of base commit updating causes17:30:55
@profpatsch:augsburg.oneProfpatsch sternenseemann: Ah, refined github 17:36:13
@profpatsch:augsburg.oneProfpatschI thought vanilla17:36:15
@sternenseemann:systemli.orgsterni (he/him)hahaha no17:36:25
@profpatsch:augsburg.oneProfpatschI noticed again today how much Github has stagnated17:37:03
@profpatsch:augsburg.oneProfpatschThings that have been bugs for over a decade now17:37:12
@profpatsch:augsburg.oneProfpatschhonestly I don’t think it will improve17:37:25
@profpatsch:augsburg.oneProfpatschBut kinda scary to give a large extension like that access to your github session cookie17:37:57
@profpatsch:augsburg.oneProfpatschwho knows what it does17:38:02
@sternenseemann:systemli.orgsterni (he/him)yeah…17:38:09
@sternenseemann:systemli.orgsterni (he/him)i think on the refined github issue requesting this feature someone posted their user script for this17:38:51
@hellwolf:matrix.orghellwolfIs there anyways to override derivation to produce dwarf output such as https://downloads.haskell.org/~ghc/9.10.1/ghc-9.10.1-x86_64-fedora33-linux-dwarf.tar.xz ?19:31:18
@hellwolf:matrix.orghellwolfhttps://github.com/NixOS/nixpkgs/blob/852ff1d9e153d8875a83602e03fdef8a63f0ecf8/pkgs/development/compilers/ghc/common-hadrian.nix#L82C1-L91C119:36:20
@hellwolf:matrix.orghellwolfanswering my own question again19:36:24

Show newer messages


Back to Room ListRoom Version: 6