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>
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 ];`
<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]