angerman changed the topic of #haskell.nix to: https://input-output-hk.github.io/haskell.nix - alternative haskell infrastructure for nix; logs at https://logs.nix.samueldr.com/haskell.nix
mariatsji has joined #haskell.nix
mariatsji has quit [Ping timeout: 256 seconds]
jkrmnj has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 256 seconds]
mariatsji has joined #haskell.nix
mariatsji has quit [Ping timeout: 272 seconds]
hekkaidekapus has quit [Quit: hekkaidekapus]
tchouri has joined #haskell.nix
mariatsji has joined #haskell.nix
tchouri is now known as hekkaidekapus
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #haskell.nix
{`-`} has joined #haskell.nix
<ocharles> Ok, cool. We do things a bit differently - we use a mono repo and have one jobset per branch that builds everything
<ocharles> But I'll have a look around
<angerman> I'm not going to open that can of worms. I do tools, developers do haskell :D
<ocharles> :D
<ocharles> What's the correct way to disable optimisations for a package? Specify it in my `cabal.project`?
<ocharles> Though weirdly I have `optimization: False` in my `cabal.project` but everything is build with optimisations so I have a feeling that's not respected
<angerman> ocharles: if it doesn't trickle down into the plan.json, haskell.nix won't see it. It might not be respected (or might not have been in the plan.json) when we looked for what we can extract.
<ocharles> got it
<angerman> isn't optimization: False, equivalent to passing -O0?
<ocharles> I think so
<ocharles> `The option `packages.cryptonite-openssl.package.identifier.name' is used but not defined` -- any idea what this could be about?
<ocharles> Looks like an indirect dependency - there's no mention of `cryptonite-openssl` anywhere in this repo
<ocharles> https://packdeps.haskellers.com/reverse/cryptonite-openssl yet there is also no reference to pvss anywhere in our repo, and pvss has no reverse dependencies. Mysterious!
<ocharles> `pkgs.haskell-nix.haskellLib.collectComponents "exes" (p: p.identifier.name == "circuithub-api") pkgs.haskell;` is the expression that causes this to happen
<ocharles> Yea, so collectComponents looks at _every_ package in hsPkgs, and I guess there's something wrong with cryptonite-openssl for some reason
tchouri has joined #haskell.nix
hekkaidekapus has quit [Ping timeout: 240 seconds]
fendor_ is now known as fendor
jonge[m] has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
michaelpj has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
siraben has quit [Quit: killed]
Poscat[m] has quit [Quit: killed]
ptival[m] has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
Ericson2314 has joined #haskell.nix
wedens[m] has joined #haskell.nix
Poscat[m] has joined #haskell.nix
jonge[m] has joined #haskell.nix
ptival[m] has joined #haskell.nix
michaelpj has joined #haskell.nix
domenkozar[m] has joined #haskell.nix
siraben has joined #haskell.nix
__monty__ has joined #haskell.nix
<ocharles> Any idea why `hmatrix` with `flags.openblas = true` is linking against `pkgs.openblas`, not `pkgs.openblasCompat`? I'm stumped, because https://github.com/input-output-hk/haskell.nix/blob/6b37cca8bd2da7dd19cb1353dd43454388047462/lib/pkgconf-nixpkgs-map.nix#L108 looks like `pkgs.openblas` shouldn't be usable at all!
<ocharles> I'm finding an executable that uses `hmatrix` reports `libopenblas.so.0 => /nix/store/rzcnnp4q8g4acg74kq38qndng1l65vw3-openblas-0.3.7/lib/libopenblas.so.0` when ran with ldd
<ocharles> And nix-build -E '(import ./nix/pkgs {}).openblasCompat' -> /nix/store/py9w4nc0zzhxawly2dfz65dksphgrys6-openblas-0.3.7
<ocharles> But nix-build -E '(import ./nix/pkgs {}).openblas' -> /nix/store/rzcnnp4q8g4acg74kq38qndng1l65vw3-openblas-0.3.7
<ocharles> This pkgconf-nixpkgs-map.nix seems to be used in a pkgconfPkgs variable, but I can't even see how that is used :/
<ocharles> I also tried an overlay with `openblas = super.openblasCompat`, but that just causes infinite recursion :'(
fendor has quit [Remote host closed the connection]
julm has quit [Ping timeout: 258 seconds]
julm has joined #haskell.nix
<ocharles> Ok, I see now that this is passed into the expressions produced by cabal-to-nix, but for hmatrix it doesn't use pkgconfPkgs, so something is wrong in that translation. The plot thickens!
<ocharles> Aha, it uses extra-libraries, not pkgconfig-depends
<ocharles> But there is no mapping for extra-libraries
<ocharles> Never mind, there is. All documented in https://github.com/input-output-hk/haskell.nix/issues/838 - hopefully I can submit a PR
tchouri is now known as hekkaidekapus
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #haskell.nix
mariatsji has quit [Ping timeout: 244 seconds]
mariatsji has joined #haskell.nix
<ocharles> Me again. We build everything with ghc8101, but how would I get a HLint with this compiler? haskell-nix.haskellPackages.hlint.components.exes.hlint needs ghc 8.6 it seems
<ocharles> But if I build a project, the resulting hsPkgs doesn't have hlint at all (presumably because it's not in the plan)
<ocharles> Ok, I guess https://input-output-hk.github.io/haskell.nix/tutorials/materialization/#how-can-we-materialize-the-nix-files is the way to do it, even though that's a lucky place to find docs :D
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #haskell.nix
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #haskell.nix
mariatsji has quit [Ping timeout: 272 seconds]
__monty__ has quit [Quit: leaving]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 260 seconds]
mariatsji has joined #haskell.nix
mariatsji has quit [Ping timeout: 246 seconds]