2025/01/16

Newest at the top

2025-01-16 12:07:54 +0100housemate(~housemate@146.70.66.228) (Quit: Nothing to see here. I wasn't there. I take IRC seriously. I do not work for any body DIRECTLY although I do represent BOT NET.)
2025-01-16 12:07:02 +0100 <smiesner> thank you so much!
2025-01-16 12:06:59 +0100 <Leary> mreh: Try 'stable-memo' or 'memo-ptr' and find out.
2025-01-16 12:05:29 +0100 <dminuoso> Check with them for further details.
2025-01-16 12:05:24 +0100 <dminuoso> The Haskell team members generally hang out in the Matrix room #haskell:nixos.org.
2025-01-16 12:05:07 +0100 <dminuoso> Hydra evaluates haskell-branch every 4 hours.
2025-01-16 12:05:01 +0100 <dminuoso> smiesner: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md#… here we go
2025-01-16 12:03:48 +0100 <dminuoso> See https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md
2025-01-16 12:03:30 +0100 <dminuoso> Now there's some maintainer script to merge open haskell-updates PRs back into master.
2025-01-16 12:02:56 +0100 <dminuoso> smiesner: There is a branch called haskell-updates which I believe is updated daily
2025-01-16 12:02:47 +0100 <smiesner> just used it once or twice
2025-01-16 12:02:39 +0100 <smiesner> i'm really a noobie with nix, sorry
2025-01-16 12:02:28 +0100 <smiesner> hm, i cant find the package I want to use the latest version of in the main.yaml. it's this one: https://search.nixos.org/packages?channel=24.11&show=haskellPackages.hosc&from=0&size=50&sort=rele…
2025-01-16 12:02:11 +0100 <dminuoso> smiesner: Though know, that these updates dont get merged into master automatically.
2025-01-16 12:00:23 +0100 <dminuoso> If its unpinned, it should get updated the next time haskell2nix runs (daily perhaps? unsure)
2025-01-16 12:00:07 +0100 <dminuoso> (or a pin via stackage resolver)
2025-01-16 12:00:01 +0100 <dminuoso> smiesner: It depends on whether it receives a pin in that main.yaml
2025-01-16 11:59:27 +0100 <smiesner> just for my understanding now: when a library is bumped on hackage, how long does nix need to integrate it? or is it no time at all bc it 'researches' on every nix build try?
2025-01-16 11:59:03 +0100 <dminuoso> If you can muster that, its great. If not... haskell.nix is a kind of terrible experience unless you dont mind following the update cadence of IOG.
2025-01-16 11:58:37 +0100housemate(~housemate@146.70.66.228) housemate
2025-01-16 11:58:36 +0100 <dminuoso> The biggest price tag is that you really want a local nix cache with some CI that is able to build the bootstrap GHCs continuously for all architectures you have.
2025-01-16 11:58:23 +0100lortabac(~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.4.2)
2025-01-16 11:57:55 +0100 <smiesner> thanks for the very detailed explanation and links!
2025-01-16 11:57:38 +0100 <dminuoso> It's only haskell.nix here now, which gives us all the benefits and the big price tag attached to it. :-)
2025-01-16 11:57:09 +0100 <dminuoso> At work we have stopped using nixpkgs haskell packages because it leads to lot of problems and lack of speed.
2025-01-16 11:56:41 +0100 <dminuoso> (So roughly we take most of hackage, but when the package is also on some stackage resolver - dont ask me which - then we try to provide the version from that stackage resolveer/
2025-01-16 11:56:30 +0100 <yushyin> smiesner: maybe you can/should overlay the package or even use haskell.nix, either way, it might be worth popping over to #haskell:nixos.org and asking them what you should do now
2025-01-16 11:56:16 +0100 <mreh> is it possible to (somewhat) reliably memoise with function type arguments? maybe with something like a StableName and some compiler magic?
2025-01-16 11:55:49 +0100 <smiesner> dminuoso: thank you very much!
2025-01-16 11:55:47 +0100 <dminuoso> smiesner: https://nixos.org/manual/nixpkgs/stable/#haskell-available-packages contains a bit of documentation on the subject
2025-01-16 11:53:22 +0100 <dminuoso> (As you can see, this roughly follows stackage)
2025-01-16 11:53:06 +0100 <dminuoso> Err ./pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml rather, sorry
2025-01-16 11:52:24 +0100 <dminuoso> s/nix/nixpkgs/
2025-01-16 11:52:17 +0100 <dminuoso> But not for regular updates. Roughly nix is doing the same thing as stackage: provide a snapshot of hackage where things mostly work with each other.
2025-01-16 11:51:41 +0100mreh(~matthew@host86-146-138-36.range86-146.btcentralplus.com) mreh
2025-01-16 11:51:40 +0100 <dminuoso> There is ./pkgs/development/haskell-modules/configuration-hackage2nix/stackage.yaml however that is used to fiddle with that manuallz
2025-01-16 11:51:34 +0100 <smiesner> oh great, reading would have helped as always
2025-01-16 11:51:09 +0100 <yushyin> see first line of that file: /* hackage-packages.nix is auto-generated by hackage2nix -- DO NOT EDIT MANUALLY! */
2025-01-16 11:50:24 +0100Square2(~Square4@user/square) (Ping timeout: 260 seconds)
2025-01-16 11:48:49 +0100 <dminuoso> smiesner: That will happen automatically to a degree.
2025-01-16 11:48:34 +0100 <smiesner> I want to bump it's version, since there is an update of the library.
2025-01-16 11:48:17 +0100 <dminuoso> smiesner: What exactly do you want to do with the package?
2025-01-16 11:48:04 +0100 <dminuoso> No.
2025-01-16 11:47:51 +0100 <smiesner> hi, i want to update a haskell package in nix. is this the correct file i have to edit and PR? https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/development/haskell-modules/hackage-package…
2025-01-16 11:45:54 +0100housemate(~housemate@146.70.66.228) (Quit: Nothing to see here. I wasn't there. I take IRC seriously. I do not work for any body DIRECTLY although I do represent BOT NET.)
2025-01-16 11:39:40 +0100emmanuelux(~emmanuelu@user/emmanuelux) (Ping timeout: 252 seconds)
2025-01-16 11:38:06 +0100todi(~todi@p57803331.dip0.t-ipconnect.de) todi
2025-01-16 11:37:09 +0100todi(~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 276 seconds)
2025-01-16 11:36:28 +0100ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en
2025-01-16 11:35:03 +0100ColinRobinson(~juan@user/JuanDaugherty) JuanDaugherty