| 18 Dec 2025 |
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 |
magic_rb | Yeah i just overrode it manually for the deps, just kinda weird | 15:34:40 |
magic_rb | The versioned packages exist, but they dont depend on yeah other | 15:35:03 |
chreekat | I believe that all the versioned packages are just there because they can be with no guarantees | 17:06:45 |
chreekat | * | 17:06:57 |
magic_rb | Fair fair, thought it was an oversight :) | 17:35:00 |
| 20 May 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 22:10:58 |
| @grahamc:nixos.org changed the room name to "" from "". | 22:10:58 |
| @grahamc:nixos.org invited maralorn. | 22:11:05 |
| maralorn joined the room. | 22:11:13 |
| andi- joined the room. | 22:30:49 |
| @grahamc:nixos.orgchanged room power levels. | 22:36:42 |