<duncan^> Having an "interesting" time getting ghc working...
<duncan^> saml
<duncan^> * sample error there
<duncan^> I've tried the remedy they suggested, which was something like pass -L/usr/lib
<duncan^> ftr here's my exact output compiling a given program: https://paste.debian.net/hidden/e2258037/
<duncan^> can't actually tell where it's building against libiconv
<duncan^> someone else appears to have a similar issue, https://github.com/haskell/haskell-platform/issues/74
<{^_^}> haskell/haskell-platform#74 (by r0ml, 4 years ago, closed): Link error with libiconv on MacOS
<duncan^> this is certainly related to Nix as a given ghc from source is happily correctly doing stuff with iconv
<matthewbauer[m]> duncan^: Is it he same as this issue: https://github.com/NixOS/nixpkgs/issues/46814 ? What ghc are you using?
<{^_^}> #46814 (by lrworth, 23 weeks ago, closed): GHC on macOS fails with undefined symbols related to iconv.
<duncan^> yup, looks like taht would be it - I'm on the 18.09 channek
<duncan^> channel*
<duncan^> Unfortunately, easiest thing at the moment is just to use the external one I built from 8.6.3
<matthewbauer[m]> yeah somehow the fix was never applied for 863
<{^_^}> #56795 (by matthewbauer, 3 minutes ago, open): ghc863: dont add extra libs
<matthewbauer[m]> But we should backport these
<duncan^> ja, defintely not thrilled by the prospect of having to use unstable packages :)
<duncan^> thanks ! :)
<matthewbauer[m]> this should only happen when you are out of the nix shell btw
qyliss^work has quit [Quit: bye]
qyliss has quit [Quit: bye]
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #nix-darwin
qyliss has joined #nix-darwin
qyliss^work has joined #nix-darwin
philr has quit [Quit: WeeChat 2.3]
disasm_ has joined #nix-darwin
disasm_ has quit [Ping timeout: 245 seconds]
disasm_ has joined #nix-darwin
disasm_ is now known as disasm
periklis has joined #nix-darwin
__Sander__ has joined #nix-darwin
jtojnar has joined #nix-darwin
<duncan^> so, looks like it's merged - is there a gap between merging it and when it appears in the stable channel?
<duncan^> I issued a `nix-channel --update` and `nix-env -u` and it still has this iconv issue...
<duncan^> Hmm, so the issue appears to be, that I'm not actually on stable (but I distinctly remember adding that)
<duncan^> it's on nixpkgs-unstable.
<duncan^> but - if I remove that and are just set to `nixpkgs-18.09-darwin https://nixos.org/channels/nixpkgs-18.09-darwin`
<duncan^> - there then appears to be a lack of any packages whatsoever (at least according to `nix-env -qa`)
<duncan^> Not sure how to debug that :/
periklis has quit [Ping timeout: 255 seconds]
<qyliss^work> duncan^: howoldis.herokuapp.com
<duncan^> Thanks! :)
__Sander__ has quit [Quit: Konversation terminated!]
sivteck has joined #nix-darwin
sivteck has quit [Client Quit]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
hamishmack has joined #nix-darwin
philr has joined #nix-darwin