2025/01/16

Newest at the top

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
2025-01-16 11:34:05 +0100tv(~tv@user/tv) (Read error: Connection reset by peer)
2025-01-16 11:32:18 +0100todi(~todi@p57803331.dip0.t-ipconnect.de) todi
2025-01-16 11:29:17 +0100V(~v@ircpuzzles/2022/april/winner/V) V
2025-01-16 11:29:11 +0100xdej(~xdej@quatramaran.salle-s.org)
2025-01-16 11:29:02 +0100xdej(~xdej@quatramaran.salle-s.org) (Ping timeout: 252 seconds)
2025-01-16 11:28:49 +0100V(~v@ircpuzzles/2022/april/winner/V) (Remote host closed the connection)
2025-01-16 11:28:03 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2025-01-16 11:25:02 +0100sprotte24(~sprotte24@p200300d16f3cd90039044ee6d2c6f144.dip0.t-ipconnect.de) (Client Quit)
2025-01-16 11:24:43 +0100__monty__(~toonn@user/toonn) toonn
2025-01-16 11:24:21 +0100sprotte24(~sprotte24@p200300d16f3cd90039044ee6d2c6f144.dip0.t-ipconnect.de)
2025-01-16 11:24:19 +0100dtman34_(~dtman34@c-76-156-106-11.hsd1.mn.comcast.net) dtman34
2025-01-16 11:24:08 +0100dtman34(~dtman34@c-76-156-106-11.hsd1.mn.comcast.net) (Ping timeout: 244 seconds)
2025-01-16 11:24:00 +0100hgolden_(~hgolden@2603:8000:9d00:3ed1:6ff3:8389:b901:6363) (Ping timeout: 252 seconds)
2025-01-16 11:22:48 +0100tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)