| 17 Dec 2025 |
Lenny. | oki thx! | 19:22:51 |
maralorn | Your bump might be in here, but github feilds to load it for me: https://github.com/NixOS/nixpkgs/pull/466258 | 19:32:03 |
maralorn | * Your bump might be in here, but github fails to load it for me: https://github.com/NixOS/nixpkgs/pull/466258 | 19:32:14 |
Lenny. | yes it actually it! ty I'll watch that | 19:37:24 |
maralorn | May I pitch you my bot nixpkgs-bot. Send it "subscribe 466258" and you will be informed when it is merged and when it reaches master and nixos-unstable. 😄 | 19:41:21 |
sterni (he/him) | In reply to @ncfavier:matrix.org Is there a way to override the version of Cabal used to build Setup.hs? lhs2tex needs Cabal 3.10, but using the obvious override doesn't work (I suspect because Cabal 3.12 is bundled with GHC and it picks the latest available version). I also found https://github.com/NixOS/nixpkgs/pull/443130 but that doesn't seem to help here. you can add the version you want to setupHaskellDepends but if i recall it picks the most recent version by default | 20:42:08 |
sterni (he/him) | so you may need to coax it with some extra flags | 20:43:01 |
andromeda | "the eleven copies of GHC in your nix store don't exist, they can't hurt you" the eleven copies of GHC in my nix store: 🫥 | 23:05:24 |
maralorn | 😄 | 23:06:42 |
| 18 Dec 2025 |
magic_rb | given this dependency list, do you think i can get my binary smaller than 3.6MB?
base ^>=4.20.2.0,
aeson,
unordered-containers,
directory,
unix,
text,
bytestring,
filepath,
extra,
path,
microlens,
microlens-th,
microlens-mtl,
mtl,
transformers,
optparse-applicative,
bytestring-aeson-orphans,
template-haskell,
tree-diff,
exceptions,
hashable,
pretty,
Glob,
monad-logger,
| 15:44:37 |
magic_rb | ive enabled enableSeparateBinOutput already | 15:44:47 |
Alex | In reply to @magic_rb:matrix.redalder.org
given this dependency list, do you think i can get my binary smaller than 3.6MB?
base ^>=4.20.2.0,
aeson,
unordered-containers,
directory,
unix,
text,
bytestring,
filepath,
extra,
path,
microlens,
microlens-th,
microlens-mtl,
mtl,
transformers,
optparse-applicative,
bytestring-aeson-orphans,
template-haskell,
tree-diff,
exceptions,
hashable,
pretty,
Glob,
monad-logger,
No, most of that is already the GHC RTS. | 16:15:33 |
Alex | * No, most of that binary is already the GHC RTS. | 16:15:41 |
magic_rb | 👍 | 16:25:03 |
| 19 Dec 2025 |
| Jack joined the room. | 07:34:06 |
sterni (he/him) | ofc 9.14.1 releases when i leave the house without my laptop | 15:23:59 |
| 21 Dec 2025 |
| Mr Mayhem changed their display name from Magnolia Mayhem to Mr Mayhem. | 20:57:53 |
| 22 Dec 2025 |
| @cinerealkiara:matrix.org left the room. | 13:12:27 |
| amadaluzia[tde] changed their display name from ➡️@amadaluzia:unredacted.org to amadALTuzia (tchncs.de). | 16:11:31 |
| amadaluzia[tde] changed their display name from amadALTuzia (tchncs.de) to amadaluzia[tde]. | 17:30:15 |
magic_rb | how can i pass -Werror only in a Nix build? dont see a ghcFlags | 21:54:45 |
magic_rb | and buildFlags doesn't work | 21:54:58 |
maralorn | magic_rb: example here: https://github.com/maralorn/nix-output-monitor/blob/9a32f32f807a4f7bc97d95606465243f293650fe/flake.nix#L50 | 22:08:31 |
magic_rb | Thanks, i didnt think of passing it through cabal :D | 22:18:15 |
maralorn | I have no clue if this is the smartes solution. | 22:19:27 |
magic_rb | Hey if it works it works | 22:24:37 |
magic_rb | It definitely wont be the dumbest/worst piece of the nix in the repo i want to put it in. I wrote that repos initial version years ago and boy was i an idiot | 22:25:22 |
| 23 Dec 2025 |
chreekat | Fun cabal fact: there's also a --ghc-options flag (with an s). Lets you put multiple, space separated ghc options in one go | 04:59:59 |
magic_rb | the deps for microlens-mtl_0_2_1_1 are wrong, it pulls in microlens but it needs microlens_0_5_0_0 | 11:27:22 |
Alex | In reply to @magic_rb:matrix.redalder.org the deps for microlens-mtl_0_2_1_1 are wrong, it pulls in microlens but it needs microlens_0_5_0_0 Nixpkgs does not do dependency solving.
Try overriding the haskell package set (see the Haskell section of the Nixpkgs manual). | 15:33:07 |