<trcc>
I am trying to get a haskell environment set up according to: https://github.com/Gabriel439/haskell-nix. However, nix-env --install cabal2nix fails with the error above
<LnL>
yeah, I think that broke recently
<trcc>
ahh sucks
<LnL>
you could use nixpkgs-18.03-darwin
<LnL>
it won't have the latest stuff, but it's much more stable and the set of packages that work is bigger
<trcc>
how do I switch to that?
<LnL>
either change your channel and update, but that's for everything
<LnL>
or use eg. nix run -f channel:nixpkgs-18.03-darwin cabal2nix
<trcc>
LnL: but then I will not get newer haskell packages and such?
<LnL>
yeah
<trcc>
hmm ok
<trcc>
thank you though
<LnL>
so if you don't like that you can use the release channel for specific things, like starting a shell with just cabal2nix like above
<LnL>
(installing also works) nix-env -f channel:nixpkgs-18.03-darwin -iA cabal2nix
<trcc>
then it will only be cabal2nix that is the old version
<LnL>
exactly, everything else still uses unstable
<LnL>
so you can do that selectively for stuff that's broken
<trcc>
isn't there a stable branch?
<trcc>
stable channel
<trcc>
like there is an unstable stable, why not have a stable channel as well?
<LnL>
that's exactly what the 18.03 channel is
<trcc>
but then you will have to manually update 18.03 to xx.xx sometime right?
<trcc>
why not call it stable?
<LnL>
the jump might have breaking changes for you, so having any nix-channel --update potentially breaking your stuff wouldn't be nice
<trcc>
hmm ye
<trcc>
Thank you
Lisanna has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
trcc has quit [Remote host closed the connection]
goodwill has quit [Ping timeout: 244 seconds]
jtojnar has quit [Ping timeout: 260 seconds]
jtojnar has joined #nix-darwin
johnw has quit [Read error: Connection reset by peer]