Haskell in Nixpkgs/NixOS | 729 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.org | 146 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Dec 2024 | ||
In reply to @b:chreekat.net nix why-depends --derivation is also an option | 13:15:57 | |
| 20 Dec 2024 | ||
I want to have a Haskell package with a justStaticExecutables out and also a doc alongside it with Haddocks and such. Is there a good way to compose such a thing? | 21:57:12 | |
| 21 Dec 2024 | ||
| 05:08:28 | ||
| 05:14:07 | ||
| 06:43:44 | ||
| sterni: thanks for fixing up stack | 09:57:53 | |
jean-paul.: justStaticExecutables is pointless with haddocks since haddocks also have all the references on other packages. You probably want to use enableSeparateBinOutput which at least creates a bin output that won't pull in the world | 19:36:21 | |
| sterni: Does enableSeparateBinOutput make a bin output that's as small as the one justStaticExecutables makes? | 19:39:40 | |
| (If it does I wonder what the point of justStaticExecutables is) | 19:39:57 | |
| I want a small closure to deploy the software in production and a doc output to deploy elsewhere. I don't even care if everything has to get built separately for each of them, as long as the bin output is small and I can have the docs. | 19:40:41 | |
| Yeah, I wonder about that at times, too. I think it is mainly because separate bin is newer. | 19:47:34 | |
| Okay ... yes, enableSeparateBinOutput seems to also produce a bin output that is quite small ... in my case, 5.3 GiB for the combined output or 118 MiB for the separate bin output. That's quite a bit easier than all the hacking I was trying to do around justStaticExecutables. | 19:59:51 | |
| Alex: didn't we have this problem before?
| 20:18:05 | |
In reply to @sternenseemann:systemli.orgYes, but I still can't recall which fix was for this. I'll take a look tomorrow. | 20:22:56 | |
| Alex: we trigger the issue in a different way, it happens when building a cross compiler for riscv64-linux on https://github.com/NixOS/nixpkgs/pull/367194. Wanted to try the native backend… | 20:23:52 | |
| 21:14:53 | ||
| 21:56:33 | ||
| 22 Dec 2024 | ||
The new automatic merge strategy for haskell-updates seems to make it so that it is really hard to read through the history/timeline on the PR on github: https://github.com/NixOS/nixpkgs/pull/354270 | 02:29:31 | |
* The new automatic merge strategy for haskell-updates (where master gets merged in, but the branch is based on staging) seems to make it so that it is really hard to read through the history/timeline on the PR on github: https://github.com/NixOS/nixpkgs/pull/354270 | 02:30:04 | |
| Any recent conversation seems like it just gets hidden in the github "hidden items" thing. | 02:31:03 | |
* The new automatic merge strategy for haskell-updates (where master gets merged in automatically, but the branch is based on staging) seems to make it so that it is really hard to read through the history/timeline on the PR on github: https://github.com/NixOS/nixpkgs/pull/354270 | 02:31:18 | |
| Huh, that shouldn't be, should it? | 07:53:50 | |
| I think this is the result of something not going according to plan . | 07:55:36 | |
| Either an erroneous manual merge or the automatic merges are not correct yet. Or githubs diffing sucks. | 07:57:19 | |
In reply to @sternenseemann:systemli.org
What an odd regression. I suspect it's upstream in GHC itself. It is for some reason trying to use riscv64 libffi on an x86_64 build. | 11:30:00 | |
Alex: IIRC this #error is only an issue with riscv64 headers, so it may not happen at all with aarch64. The problem as I remember it is that something relating to libffi is also built with the stage0 compiler (so on x86_64-linux), but the wrong libffi used | 11:48:57 | |
| nothing has changed yet, it's just from targeting staging and merging in master/staging-next occasionally, so the branch gets ahead of staging sometimes | 11:49:30 | |
| also the web UI gets out of sync with the HEAD of staging so it sometimes even lists commits that already have been merged into staging | 11:49:56 | |
| See https://github.com/NixOS/nixpkgs/issues/361143 | 11:50:17 | |
| 13:25:36 | ||