Agreed, but lots of people (especially newbies) are on windows, and it helps to have one tool work everywhere, and in exactly the same way.
-
-
-
Replying to @puffnfresh @saurabhnanda and
Gah.. we.. just.. discussed.. how nix doesn't work on Windows 7. Anyways, no reason to argue, can you point me to the most newbie friendly nix setup (linux/mac) for Haskell development? I'll try it out myself and with some people new to Haskell, and report back on how that goes.
1 reply 0 retweets 0 likes -
Replying to @ajnsit @saurabhnanda and
my instructions for my classes: 1. Clone data61/fp-course 2. Run 'nix-shell' from there 3. Run 'ghci' Now you're writing
#Haskell!!2 replies 1 retweet 6 likes -
Replying to @puffnfresh @saurabhnanda and
cycle detected in the references of ‘/nix/store/8bjxnl81lqqn2x6da6dzak8dm4plyh2a-jailbreak-cabal-1.3.2 .. error: build of ‘/nix/store/z767pb4wiqx3wxkmprg902x7jipshj4s-ghc-8.0.2-with-packages.drv’ failed /nix/var/nix/profiles/default/bin/nix-shell: failed to build all dependencies
1 reply 0 retweets 0 likes -
Replying to @ajnsit @puffnfresh and
This is after nix-shell. Full logs here -https://gist.github.com/ajnsit/95afbc7cc159e4bfd74ebc3d065dbcff …
2 replies 0 retweets 0 likes -
Replying to @ajnsit @saurabhnanda and
you're on an old version of nixpkgs. At this point I do the same as
@dibblego and tell people to just use 'nix-shell -p ghc'1 reply 0 retweets 1 like -
Replying to @puffnfresh @saurabhnanda and
Okay, so how do I switch to a new version of nixpkgs? What are the steps for setting up a full nix based project? Also, just saying, this is something I would never face with stack. I can build any old or new project without changing anything in any other part of my system.
1 reply 0 retweets 0 likes -
Replying to @ajnsit @saurabhnanda and
nixpkgs manual covers this. Something we never face when I teach, cause Nix allows pinning all dependencies (not just
#Haskell) and so we do1 reply 0 retweets 0 likes -
Replying to @puffnfresh @saurabhnanda and
Imagine a newbie who's not in your course. At this point, pointing them to the nixpkgs manual would be a little scary no? Also, how does `nix-pkgs -p ghc` translate to building "real world projects"? Nix config is rather opaque, and dense, and prone to breakage
2 replies 0 retweets 0 likes
FWIW, "aspiring to not be scared" is how we got into this mess to begin with.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.