!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

720 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.org142 Servers

Load older messages


SenderMessageTime
5 Jun 2021
@roosemberth:orbstheorem.chRoosI find very disturbing there's so much breakage when the compiler updates...20:18:59
@roosemberth:orbstheorem.chRoos * I find very disturbing for the language there's so much breakage when the compiler updates...20:18:59
* @roosemberth:orbstheorem.chRoos goes to check GHC9 release notes.20:19:00
@maralorn:maralorn.demaralorn Roos: There actually isn‘t much breakage. It’s mostly that a) everyone needs to bump their base upper bound and b) things that link against ghc have a hard time. 20:39:08
@roosemberth:orbstheorem.chRoosThat's reassuring ^^"20:40:13
@fgaz:matrix.orgfgazregarding the discussion from earlier today: I think the haskell binary cache from nixpkgs is mostly useful for experiments or short-term stuff. Once you start working on long-lived project, the warm-up time for the cabal cache gets negligible, and you gain the advantage of being able to work with any version of a package21:07:07
@fgaz:matrix.orgfgaz(of course the haskell stuff in nixpkgs is still very useful for packaging though)21:07:28
@fgaz:matrix.orgfgazIn fact, I almost stopped using nixpkgs for haskell development. Still, nix remains useful for caching this environment for ci, deployments, and sharing it with other developers. And that's why I'm working on my own builder based on cabal and FODs21:11:31
@fgaz:matrix.orgfgaz * regarding the discussion from earlier today: I think the haskell binary cache from nixpkgs is mostly useful for experiments or short-term stuff. Once you start working on long-lived project, the warm-up time for the cabal cache gets negligible, and by avoiding nixpkgs you gain the advantage of being able to work with any version of a package21:12:18
@fgaz:matrix.orgfgaz * regarding the discussion from earlier today: I think the haskell binary cache from nixpkgs is mostly useful for experiments or short-term stuff. Once you start working on long-lived projects, the warm-up time for the cabal cache gets negligible, and by avoiding nixpkgs you gain the advantage of being able to work with any version of a package21:14:48
@maralorn:maralorn.demaralornFOD?21:16:17
@fgaz:matrix.orgfgazFixed-output derivation21:16:57
@maralorn:maralorn.demaralornAh21:17:06
@Las:matrix.orgLaswhat would you use fixed-output derivations for?21:17:34
@fgaz:matrix.orgfgazFor the deps' sources21:17:55
@ahdyt:matrix.orgahdyt
In reply to @fgaz:matrix.org
In fact, I almost stopped using nixpkgs for haskell development. Still, nix remains useful for caching this environment for ci, deployments, and sharing it with other developers. And that's why I'm working on my own builder based on cabal and FODs
You don't use stack?
21:18:38
@ahdyt:matrix.orgahdyt* You didn't use stack?21:19:11
@fgaz:matrix.orgfgaz
In reply to @fgaz:matrix.org
For the deps' sources
This way, I avoid both IFD, and a centralized and somewhat difficult to maintain index like haskell.nix's
21:19:37
@fgaz:matrix.orgfgaz
In reply to @ahdyt:matrix.org
You didn't use stack?
Nope, it's a cabal-specific builder. It's simpler for me this way
21:19:59
@maralorn:maralorn.demaralorn
In reply to @fgaz:matrix.org
For the deps' sources
You mean you do something like the cargoVendorHash rust does?
21:32:28
@fgaz:matrix.orgfgazbasically yes21:32:40
@fgaz:matrix.orgfgazBut this also gets you a dev environment (though it's monolithic)21:34:39
@sternenseemann:systemli.orgsterni (he/him)current plan is to merge haskell-updates sometime tomorrow23:32:31
@sternenseemann:systemli.orgsterni (he/him)the regressions that are left look unconcerning and the next things I want to do are set rebuilds, so…23:32:36
6 Jun 2021
@cdepillabout:matrix.orgcdepillaboutNice, looks like 8.10.5 was released: https://discourse.haskell.org/t/announce-ghc-8-10-5-released/261502:47:22
@pwmosquito:matrix.orgpwmosquito
This release adds native ARM/Darwin support, as well as bringing performance improvements and fixing numerous bugs of varying severity present in the 8.10 series:
- First-class support for Apple M1 hardware using GHC's LLVM ARM backend

is a big one for our company as a bunch of us got M1s

07:40:26
@pwmosquito:matrix.orgpwmosquito *
This release adds native ARM/Darwin support, as well as bringing
performance improvements and fixing numerous bugs of varying
severity present in the 8.10 series:
- First-class support for Apple M1 hardware using GHC's LLVM ARM
backend

is a big one for our company as a bunch of us got M1s

07:40:56
@joe:monoid.aljoe (he/him)FWIW, I've been using the nix haskell infrastructure for development for years and love it10:17:32
@sternenseemann:systemli.orgsterni (he/him) cdepillabout: Okay, so I guess we'll also will want to update GHC 8.10.4 10:44:36
@maralorn:maralorn.demaralornI wonder if there will be a 8.10.5 stackage nightly before there will be a ghc 9 …10:46:34

There are no newer messages yet.


Back to Room ListRoom Version: 6