| 10 Oct 2025 |
| dotlambda joined the room. | 21:10:44 |
dotlambda | Where does haskellPackages.hledger_1_50 come from? Does stackage have two versions of hledger or do we always have the pinned or the most recent version? | 21:12:09 |
dotlambda | Is it possible to make it use hledger-lib_1_50? | 21:12:39 |
maralorn | dotlambda: https://nixos.org/manual/nixpkgs/unstable/#haskell-available-versions | 21:15:14 |
dotlambda | If I make a PR removing the pin on hledger, which branch should I target? | 21:18:25 |
dotlambda | I guess I can't remove it because it's pinned on stackage | 21:24:06 |
dotlambda | In reply to @robert:funklause.de Is it possible to make it use hledger-lib_1_50? Still, this would be nice in order to unbreak hledger_1_50 | 21:24:41 |
maralorn | dotlambda: compare: https://github.com/NixOS/nixpkgs/issues/190542 | 21:24:49 |
maralorn | Are you currently trying to fix a build error? | 21:25:08 |
maralorn | I am slightly confused about the problem. | 21:25:17 |
dotlambda | In reply to @maralorn:maralorn.de Are you currently trying to fix a build error? Yes. Try building haskellPackages.hledger_1_50. It fails because it needs hledger-lib_1_50. | 21:26:22 |
maralorn | Yeah, makes sense. | 21:26:37 |
maralorn | Yeah, you would need to manually override hledger to use the correct hledger-lib version. Belongs into configuration-common.nix. Would be fine to open against master. | 21:27:40 |
maralorn | Alternatively you remove the stackage pinning from hledger. Which by the issue I linked has been requested multiple times. | 21:28:13 |
dotlambda | In reply to @maralorn:maralorn.de Alternatively you remove the stackage pinning from hledger. Which by the issue I linked has been requested multiple times. That might break something that depends on hledger, not sure | 21:28:53 |
maralorn | Yeah, totally. | 21:29:19 |
maralorn | Just a suggestion. Do whatever you prefer. | 21:30:24 |
dotlambda | How would I remove the pinning? | 21:33:33 |
dotlambda | I guess I add it to update-stackage.sh | 21:33:58 |
maralorn | Yes, exactly. | 21:34:42 |
maralorn | If you do that on master you probably want to remove the relevant pins from our stackage.yaml. But I didn’t mean to trick you into doing more work than you set out for. 😄 | 21:36:16 |
maralorn | (Or alas, I totally did but now I feel bad about it.) | 21:36:32 |
dotlambda | I'll first take the easy way. And try the harder one later, when I feel like running nixpkgs-review etc | 21:37:09 |
| 11 Oct 2025 |
Collin Arnett | Does overrideSrc include new data-files? I'm getting a "No such file or directory" when I try and override based on a fork I'm working on. | 17:23:37 |
sterni (he/him) | Nix does not need to know about data files specifically, so shouldn't make a difference | 18:13:12 |
| 12 Oct 2025 |
Collin Arnett | Ah yeah I just needed to do a cabal clean. Thanks for confirming 🙂 | 04:49:44 |
chreekat | Seems buggy on cabal's side | 08:13:51 |
chreekat | Inputs changed, build should have been invalidated... | 08:14:16 |
| lep joined the room. | 09:27:30 |
Collin Arnett | Yeah that's why I was pulling my hair out so much! I saw the rebuild happen on the nix side and I assumed everything would be good from there after another cabal recompile. | 16:59:09 |