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
acarrico has quit [Ping timeout: 272 seconds]
acarrico has joined #haskell.nix
acarrico has quit [Ping timeout: 256 seconds]
acarrico has joined #haskell.nix
acarrico has quit [Ping timeout: 246 seconds]
srk has quit [Remote host closed the connection]
srk has joined #haskell.nix
hekkaidekapus_ has quit [Remote host closed the connection]
hekkaidekapus_ has joined #haskell.nix
fendor has joined #haskell.nix
hekkaidekapus{ has joined #haskell.nix
hekkaidekapus_ has quit [Ping timeout: 240 seconds]
Maksar has joined #haskell.nix
<Maksar> Hello everyone. I am having troubles with non-haskell dependencies in some haskell packages I'm trying to depend on. Here https://github.com/maksar/hcards/blob/master/hcards.cabal#L13 I am adding odbc library to the cabal file, but haskell.nix complains "The Nixpkgs package set does not contain the package: odbc (system dependency). You may need
<Maksar> to augment the system package mapping in haskell.nix so that it can be found." despite the https://github.com/input-output-hk/haskell.nix/blob/e6fc81b36e725312d18ff7d7e02629a22c302676/lib/pkgconf-nixpkgs-map.nix#L108 mapping. What am I missing? To reproduce – clone https://github.com/maksar/hcards and hit "nix build" command (nix flakes support
<Maksar> in needed though).
<Maksar> ok, thanks. I'll make a clone of haskell.nix repo to confirm. Will raise a PR in case of success.
Maksar has quit [Quit: Ping timeout (120 seconds)]
Maksar has joined #haskell.nix
__monty__ has joined #haskell.nix
<Maksar> Right, this works. However, compilation of the odbc itself is not successful "cbits/odbc.c:7:10: error: fatal error: 'odbcss.h' file not found". Apparently unixODBC does not provide this header. freetds does. Trying to add both `odbc = [ freetds unixODBC ];`
<Maksar> Success!
<michaelpj> Maksar: yes please! maybe include a note about why we need freetds
<michaelpj> although, whose `cbits` file is that?
<michaelpj> yours?
<michaelpj> I wonder if the cabal file there is underspecified and it should also say it needs freedts?
<michaelpj> hmm, looks like the package helps says you should install it globally
<michaelpj> weird, not sure why that wouldn't be in the cabal file
<michaelpj> so maybe it's the wrong thing to do to add this to the mapping for the `odbc` system thing, but actually it's a bug in the `odbc` haskell package
<Maksar> well, there is a discussion with author of odbc about nix support: https://github.com/fpco/odbc/issues/14 He is not a nix user. Also, I cannot consider myself anywhere close to being a nix expert, so I could not consult him with a solution...
Maksar has quit [Quit: Ping timeout (120 seconds)]
Maksar has joined #haskell.nix
Maksar has quit [Quit: Ping timeout (120 seconds)]
Maksar has joined #haskell.nix
Maksar has quit [Quit: Connection closed]
hekkaidekapus{ has quit [Remote host closed the connection]
hekkaidekapus{ has joined #haskell.nix
__monty__ has quit [Quit: leaving]
srk has quit [Quit: ZNC 1.8.2 - https://znc.in]
srk has joined #haskell.nix
acarrico has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 256 seconds]
fendor_ is now known as fendor
hekkaidekapus{ has quit [Remote host closed the connection]
hekkaidekapus{ has joined #haskell.nix
hekkaidekapus{ has quit [Ping timeout: 240 seconds]
hekkaidekapus{ has joined #haskell.nix
proofofkeags has joined #haskell.nix
proofofkeags_ has joined #haskell.nix
dsal has quit [Ping timeout: 260 seconds]
dsal has joined #haskell.nix
fendor has quit [Remote host closed the connection]