!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

756 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.org150 Servers

Load older messages


SenderMessageTime
1 Jun 2021
@pnotequalnp:matrix.orgpnotequalnp How can I nix shell GHC 9? I haven't been able to figure out what path to use to get stuff out of haskellPackages. 17:12:15
@maralorn:maralorn.demaralorn pnotequalnp: Note that we don‘t have a lot of support for ghc 9 yet. But you can use haskell.packages.ghc901.<package-name> for ghc901 packages. 17:13:27
@maralorn:maralorn.demaralornhaskell.compiler.ghc901 should be the package with the correct compiler.17:13:48
@maralorn:maralorn.demaralorn * haskell.compiler.ghc901 should be the package with the correct compiler. 17:14:06
@maralorn:maralorn.demaralorn * pnotequalnp: Note that we don‘t have a lot of support for ghc 9 yet. But you can use haskell.packages.ghc901.<package-name> for ghc901 packages. 17:14:16
@pennae:matrix.eno.spacepennaehow does one write a proper derivation for a project that contains both haskell and c++ binaries that want to be shipped together (in the same bin dir)21:47:23
@pennae:matrix.eno.spacepennaebecause symlinkJoin'ing two separate derivations doesn't feel like it's it21:47:37
@sternenseemann:systemli.orgsterni (he/him)why not21:47:45
@maralorn:maralorn.demaralorndo they need to be linked together in any way?21:47:59
@sternenseemann:systemli.orgsterni (he/him)I mean you can copy them if you prefer that21:48:15
@pennae:matrix.eno.spacepennaeno, they just have to call each other21:48:18
@pennae:matrix.eno.spacepennaesymlinkJoin works perfectly, it just feels like a hack. but we have no clue what we're doing, so that feeling doesn't count for much :)21:48:58
@maralorn:maralorn.demaralorn pennae: Doesn‘t really seem like a hack to me. 21:49:31
@sternenseemann:systemli.orgsterni (he/him)well symlinking has the advantage that you can build both projects independently, so build time is halved21:49:35
@sternenseemann:systemli.orgsterni (he/him)like imagine you fix a typo in the C++ thing, then you have to wait for the haskell build as well if it's one drv21:49:57
@maralorn:maralorn.demaralorn pennae: But you are free to dangle the build of one of them into the derivation of the other one. 21:50:00
@pennae:matrix.eno.spacepennaedangle into..?21:50:21
@pennae:matrix.eno.spacepennaebuilding independently is nice, definitely21:51:02
@maralorn:maralorn.demaralorn
In reply to @pennae:matrix.eno.space
dangle into..?
I thought that would be a word like "fiddle" "hack" in this case I meant "insert". Anyway what I wanted to say you can certainly solve it differently but it would be a lot more work.
21:54:14
@pennae:matrix.eno.spacepennaeah! yeah, symlinkJoin is definitely the easiest to write down. will stick to that then, thank you21:55:08
2 Jun 2021
@cdepillabout:matrix.orgcdepillabout

I think we should try to convince berberman to stop helping package Haskell stuff on Arch, but instead help us with Nixpkgs instead:
https://github.com/NixOS/nixpkgs/pull/125327

I'm a contributor of Haskell package set in Arch Linux official repo, but I do almost all my works on NixOS now XD

😛

05:35:17
@cdepillabout:matrix.orgcdepillabout *

I think we should try to convince berberman to stop helping package Haskell stuff on Arch, but help us with Nixpkgs instead:
https://github.com/NixOS/nixpkgs/pull/125327

I'm a contributor of Haskell package set in Arch Linux official repo, but I do almost all my works on NixOS now XD

😛

05:36:45
@dualinverter:matrix.orgdualinverter left the room.08:41:47
@sternenseemann:systemli.orgsterni (he/him)queued job count for our jobset halfed over night!10:09:58
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
queued job count for our jobset halfed over night!
And there are only darwin jobs left. If I were you I would merge …
10:38:10
@sternenseemann:systemli.orgsterni (he/him)weren't there only darwin jobs before?10:38:43
@sternenseemann:systemli.orgsterni (he/him)I'll probably check later what the queued job situation in trunk is10:39:02
@maralorn:maralorn.demaralornYesterday there were 6 x86-linux jobs left.10:39:04
@sternenseemann:systemli.orgsterni (he/him)seems like we are getting build time again11:19:05
@sternenseemann:systemli.orgsterni (he/him)weird times11:19:07

Show newer messages


Back to Room ListRoom Version: 6