ocharles has quit [Read error: Connection reset by peer]
ocharles has joined #haskell.nix
thongpv87 has joined #haskell.nix
<thongpv87>
I got this error http://ix.io/2PxU when trying to build a package that depend on a nonfree library. I had allowUnfree=true in ~/.config/nixpkgs/config.nix but that does not fix the problem
<__monty__>
thongpv87: Broken is different from unfree. That's usually only added when something is actually broken.
<__monty__>
thongpv87: I'm not sure how/why hindent 5.3.1 ends up being marked broken though.
<__monty__>
Can you show how you come to depend on that version of hindent?
<thongpv87>
sorry, hident is not relate to the problem that I mention, I remove it and the problem still happen. hident was added into buildInputs in this shell.nix file: http://ix.io/2Py4
<__monty__>
Ah, the author used "LicenseRef-LGPL" to specify the license which is a "custom" identifier so haskell.nix can't assume it's a free license.
<__monty__>
I'm not sure why allowing unfree wouldn't suppress this error though.
<__monty__>
How did you configure it?
<__monty__>
You'd have to pass the proper config to the `import sources."haskell.nix" { config = "here"; }` call.
<__monty__>
Np. I agree it's a little complicated for a first-time user : )
<thongpv87>
I have another question. If I want to setup hls (haskell-language-server), hident and hoogle in development shell, what's recommended way to setup it.
fendor_ has joined #haskell.nix
fendor has quit [Remote host closed the connection]
<thongpv87>
Does nix-shell -p haskell-language-server works? Or that haskell-language-server have to the same repo as I used for haskell.nix?
<__monty__>
Hls might work similarly but I doubt it, I only ever hear people having problems with setting it up.
fendor_ has joined #haskell.nix
<thongpv87>
I did try to setup all-hies before, did not success, and it require the ghc version of all-hies need to be the same as the one I used to compile my package
<thongpv87>
I'm new to haskell so I have no idea about that requirement, so I wonder whether hls might have similar requirements or not
<__monty__>
Likely yes. GHC tends to change a lot. The tools need to sync up to be able to even parse the code, mainly because of extensions I believe.
<thongpv87>
I got it, thank you very much
fendor has quit [Remote host closed the connection]
fendor_ is now known as fendor
fendor has quit [Read error: Connection reset by peer]
fendor has joined #haskell.nix
pie_ has quit [Ping timeout: 256 seconds]
<__monty__>
thongpv87: Btw, I contacted the X11-xft author and they were very amenable to updating the license identifier. So as of version 0.3.2 you should no longer need the unfree shenanigans : )
__monty__ has quit [Quit: leaving]
fendor has quit [Read error: Connection reset by peer]