!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/142 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 May 2025
@maralorn:maralorn.demaralorn btw. you shouldn’t use overrideAttrs on a haskell packages. Rather use the pkgs.haskell.lib.overideCabal function. 19:48:46
@keypusher:matrix.orgkeypusherokok19:48:58
@keypusher:matrix.orgkeypusher doesn't that apply the settings to all of pkgs.haskell.lib ? 19:49:55
@maralorn:maralorn.demaralorn Uh, no. You have to think of it more like a function, less than a method. So you would use it like pkgs.haskell.lib.overrideCabal <yourPackage> (old: { <your override>}). 19:51:11
@maralorn:maralorn.demaralorn * Uh, no. You have to think of it more like a function, less than a method. So you would use it like yourChangedPackage = pkgs.haskell.lib.overrideCabal <yourPackage> (old: { <your override>}). 19:51:34
@maralorn:maralorn.demaralornYet, the both options you set are both on by default, so I don’t think you need the override at all.19:52:02
@keypusher:matrix.orgkeypusherSeems I cannon find the correct attribute to refer to the documentation of the package.19:55:02

Show newer messages


Back to Room ListRoom Version: 6