Is there some recommended "goto" resource for getting into nix nowadays? The only thing I know of are the "nix pills", but I've heard mixed opinions about them. The other idea I've had is to forcefully switch to nixos to "learn by necessity".
My main interests are
building haskell with nix
setting up dev/testing environments with nix (and potentially some container software)
using build artifact caches across different machines/locations
(for reference I'm an almost pure stack debian user, only touching other things when absolutely necessary)
I learned it the way of your other idea and I've yet to see a comprehensive tutorial for this exact use case (haskell dev env). I guess it's just a very wide spectrum of possible applications.
However, I had used NixOS for some time, but it didn't really help that much.
I have only skimmed it but the haskell.nix doc is probably not too shabby for your endeavours.
Is there some recommended "goto" resource for getting into nix nowadays? The only thing I know of are the "nix pills", but I've heard mixed opinions about them. The other idea I've had is to forcefully switch to nixos to "learn by necessity".
My main interests are
(for reference I'm an almost pure stack debian user, only touching other things when absolutely necessary)
I learned it the way of your other idea and I've yet to see a comprehensive tutorial for this exact use case (haskell dev env). I guess it's just a very wide spectrum of possible applications.
However, I had used NixOS for some time, but it didn't really help that much.
I have only skimmed it but the
haskell.nix
doc is probably not too shabby for your endeavours.FWIW, I read the manuals on
nixos.org
a lotbut they are kind of circular, you'll have to know something in order to understand anything else
nix.dev
nix shorts
those are the only references I can think of
I also used home-manager's docs and examples and other people's dotfiles repos to piece things together
nix.dev looks pretty good
As someone who has just started their Nix(OS) journey, I'm mostly learning through a combination of the docs on nixos.org and the nix discord