!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
19 May 2025
@maralorn:maralorn.demaralornCurious.22:08:20
@maralorn:maralorn.demaralornOh22:10:05
@keypusher:matrix.orgkeypusherYeah, i'm running out of ideas.22:09:21
@maralorn:maralorn.demaralorn Maybe your package has the isExecutable flag set? 22:10:48
@keypusher:matrix.orgkeypusher

The very last two lines of the build has this

RegistryThree> checking for references to /build/ in /nix/store/sr5drpczdv8vypi7xwg91r6hx9hy5syi-RegistryThree-0.1.2.0-doc...
RegistryThree> patching script interpreter paths in /nix/store/sr5drpczdv8vypi7xwg91r6hx9hy5syi-RegistryThree-0.1.2.0-doc

...im wondering if that patching part does something?

22:10:25
@maralorn:maralorn.demaralorn I am looking at pkgs/development/haskell-modules/generic-builder.nix which describes the derivation in question. 22:11:54
@maralorn:maralorn.demaralornAnd apparently haddocks only get build when the package counts as a library.22:12:34
@keypusher:matrix.orgkeypusherSadly no22:11:59
@maralorn:maralorn.demaralornMaybe callCabal2nix sets the "isExecutable" flag.22:12:59
@maralorn:maralorn.demaralorn You can try fixing it with isLibrary = true in the override you worked in before. 22:14:15
@maralorn:maralorn.demaralornThat didn’t help?22:21:20
@keypusher:matrix.orgkeypusherill try that22:14:53
@maralorn:maralorn.demaralornNope, the problem is quite certainly that no docs are being generated in the haddockPhase.22:21:50
@keypusher:matrix.orgkeypusherThanks for trying to help btw. Much appreciated22:16:32
@maralorn:maralorn.demaralornI am pretty certain that is it.22:24:34
@keypusher:matrix.orgkeypusher...Hmm.. this is looking good22:18:37
@keypusher:matrix.orgkeypusherYay, that solved it!22:19:41
@keypusher:matrix.orgkeypusherThat DID help. Problem solved. Awesome. Supethanks.22:22:45
@keypusher:matrix.orgkeypusherYep. That's it.22:27:15
@keypusher:matrix.orgkeypusherTo be overly clear (for anyone stumbling upon this): You need to set `isLibrary = true" to get docs generated.22:30:34
@keypusher:matrix.orgkeypusher * To be overly clear (for anyone stumbling upon this): You need to set `isLibrary = true` to get docs generated. 22:30:48
@keypusher:matrix.orgkeypusher * To be overly clear (for anyone stumbling upon this): You need to set isLibrary = true to get docs generated. 22:31:14
20 May 2025
@sternenseemann:systemli.orgsterni (he/him)isLibrary should be set if the cabal file has a (public) library component12:22:05
@alexfmpe:matrix.orgalexfmpeIt must have in this case, or there would be nothing to generate haddocks for, no?14:29:17
@alexfmpe:matrix.orgalexfmpe* It must have such a lib in this case, or there would be nothing to generate haddocks for, no?14:30:23
@magthe:tchncs.deMagnusRedacted or Malformed Event20:31:50
21 May 2025
@weethet:catgirl.cloudWeetHet changed their profile picture.10:59:14
@maralorn:maralorn.demaralornDoes anyone have insights as to where to persist the deprecation policy?18:20:58
@maralorn:maralorn.demaralornI would but it in our section in the manual. Or the hacking.md or another similar file …18:21:49
@emilazy:matrix.orgemilymanual section is good18:22:36

Show newer messages


Back to Room ListRoom Version: 6