<shapr>
any hints or suggestions? or a heuristic for debugging that problem?
<__monty__>
That sounds terrible to debug. Can't spot anything wrong either.
<__monty__>
One thing, you don't need the nixpkgs and nixpkgsArgs stuff if you don't use it `import (haskell.nix tarball) {}` is nice and simple.
hekkaidekapus{ has quit [Quit: hekkaidekapus{]
hekkaidekapus has joined #haskell.nix
<michaelpj>
shapr: `nix-build` on a file which is an attribute set will build every derivation inside it. In this case, I'm assuming your default.nix is just the `cabalProject` call or whatever. That contains a coverage report derivation, which you almost certainly *don't* want to build. So I suggest not doing that. But apart from that, it looks like you might have found a bug in the coverage report function!
domenkozar[m] has quit [Ping timeout: 240 seconds]
siraben has quit [Ping timeout: 244 seconds]
ptival[m] has quit [Ping timeout: 246 seconds]
polls45 has quit [K-Lined]
jonge[m] has quit [Ping timeout: 272 seconds]
stites[m]1 has quit [Ping timeout: 240 seconds]
michaelpj has quit [Ping timeout: 244 seconds]
Ericson2314 has quit [Ping timeout: 260 seconds]
<shapr>
so, does that mean I called this incorrectly?
ptival[m] has joined #haskell.nix
stites[m]1 has joined #haskell.nix
jonge[m] has joined #haskell.nix
domenkozar[m] has joined #haskell.nix
<__monty__>
shapr: I guess you're supposed to try to build (your default.nix).components.library/exe.MyName
siraben has joined #haskell.nix
<shapr>
__monty__: ah, thanks!
<shapr>
so for this default.nix https://pastebin.com/SH8Ec04s what's the MyName ? Should I change the text in quotes on line 18 to "zoop" since that's the name of my cabal project?
<__monty__>
shapr: Or `...components.exes.all` unless that's been removed, to build all your exes. Oh and it's library/exes, plural. (I think library is singular since a cabal file can only have one.)
<shapr>
with the three dots?
<__monty__>
Need your cabal file to find out the Myname.
<__monty__>
I never nix build my packages from the commandline tbh.
<shapr>
oh, how do you do it?
<__monty__>
But I think for nix-build it'd be `nix-build -E '(import ./default.nix {}).components.exes.zoop`
<__monty__>
I always have my nix-shell environment loaded by direnv+lorri, so I have cabal available for builds (nix doesn't do incremental builds as fine-grained, though haskell.nix maybe fixes this?). And a couple packages I have in overlays and those are built from my home-manager config.
julm has quit [Ping timeout: 256 seconds]
julm has joined #haskell.nix
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Remote host closed the connection]