!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

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


SenderMessageTime
23 Sep 2025
@alist:matrix.orgyliceee changed their profile picture.20:04:24
24 Sep 2025
@ashinnv:matrix.orgMagnolia Mayhem changed their profile picture.14:46:16
@ashinnv:matrix.orgMagnolia Mayhem changed their profile picture.19:45:13
25 Sep 2025
@bglgwyng:matrix.orgbglgwyng If a package is not affected by foo-package.override { random = ... }, which means random is not overridden but remains as the one in haskellPackages, what are some things I can try to investigate further 08:53:03
@bglgwyng:matrix.orgbglgwyng The package overrides other than random works well 08:53:22
@bglgwyng:matrix.orgbglgwyng * If a package is not affected by foo-package.override { random = ... }, which means random is not overridden but remains as the one in haskellPackages, what are some things I can try to investigate further? 09:00:44
@maralorn:maralorn.demaralornI can’t think of anything straightforward. Best ideas is a) there is a second override which negates your first override b) you are mistakingly not actually passing a different random. I can think of wilder theories, but they will be even more likely to be wrong.09:30:59
@bglgwyng:matrix.orgbglgwyng

I tried overriding it at the last place like,

{ packages.hip = config.cabal-projects.default.packages.hip.override { random = config.cabal-projects.default.packages.random; }; }

but still same

09:32:13
@sternenseemann:systemli.orgsterni bglgwyng: Haskell dependencies need to be propagated, so any given package sees its transitive Haskell dependency closure. random is pretty common, so probably somewhere the non overridden random is visible. Cabal is free to pick any version within bounds. 10:58:17

Show newer messages


Back to Room ListRoom Version: 6