!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

734 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org147 Servers

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


SenderMessageTime
19 May 2025
@keypusher:matrix.orgkeypusher

When i rebuild (after chaning some haddock ) My logs show this

...
Running phase: haddockPhase
Running phase: installPhase
...
20:28:23
@keypusher:matrix.orgkeypusherMy .cabal file contains 1 lib, 2 binaries and one test module. Not sure if that can complicate things?20:29:41
@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

Show newer messages


Back to Room ListRoom Version: 6