!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

708 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/140 Servers

Load older messages


SenderMessageTime
10 Oct 2025
@robert:funklause.dedotlambda
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:maralorn.demaralornYeah, makes sense.21:26:37
@maralorn:maralorn.demaralornYeah, 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:maralorn.demaralornAlternatively you remove the stackage pinning from hledger. Which by the issue I linked has been requested multiple times.21:28:13
@robert:funklause.dedotlambda
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:maralorn.demaralornYeah, totally.21:29:19
@maralorn:maralorn.demaralornJust a suggestion. Do whatever you prefer.21:30:24
@robert:funklause.dedotlambdaHow would I remove the pinning?21:33:33
@robert:funklause.dedotlambda I guess I add it to update-stackage.sh 21:33:58
@maralorn:maralorn.demaralornYes, exactly.21:34:42
@maralorn:maralorn.demaralornIf 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:maralorn.demaralorn(Or alas, I totally did but now I feel bad about it.)21:36:32
@robert:funklause.dedotlambdaI'll first take the easy way. And try the harder one later, when I feel like running nixpkgs-review etc21:37:09
11 Oct 2025
@collinarnett:matrix.orgCollin 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
@sternenseemann:systemli.orgsterni (he/him)Nix does not need to know about data files specifically, so shouldn't make a difference18:13:12
12 Oct 2025
@collinarnett:matrix.orgCollin ArnettAh yeah I just needed to do a cabal clean. Thanks for confirming 🙂04:49:44
@b:chreekat.netchreekatSeems buggy on cabal's side08:13:51
@b:chreekat.netchreekatInputs changed, build should have been invalidated...08:14:16
@lep-:matrix.orglep joined the room.09:27:30
@collinarnett:matrix.orgCollin ArnettYeah 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
14 Oct 2025
@tianyi:superkazuya.com@tianyi:superkazuya.com left the room.04:18:45
@jellyterra:matrix.org@jellyterra:matrix.org left the room.11:29:27
16 Oct 2025
@sasha:the-apothecary.club@sasha:the-apothecary.club left the room.01:51:05
@b:chreekat.netchreekatIs it reproducible? Could you open a ticket on the cabal issue tracker?07:03:00
17 Oct 2025
@eldritchcookie:matrix.orgeldritchcookiegiven a haskellPackageSet like haskellPackages or haskell.packages.ghc912 how do i apply an overlay to the package set only?12:02:20
@eldritchcookie:matrix.orgeldritchcookielooking at haskell-flake source code gave me an answer .extend make it take a overlay.12:24:51
@eldritchcookie:matrix.orgeldritchcookie

do i need to rename the package if i pass it as another name like

      gi-gtk-hs = pkgs.haskell.lib.markUnbroken (super.gi-gtk-hs.override {
        gi-gtk = self.gi-gtk3;
        gi-gdk = self.gi-gdk3;
      });
12:30:15
18 Oct 2025
@ihar.hrachyshka:matrix.org@ihar.hrachyshka:matrix.org left the room.00:13:02
@mangoiv.:matrix.orgMangoIVRedacted or Malformed Event10:36:07
@mangoiv.:matrix.orgMangoIV* are you aware that nixpkgs unstable currently shipos incompatible hls and cabal-install versions? 10:36:18

Show newer messages


Back to Room ListRoom Version: 6