im mainly using this just to get a quick coconut/ipython shell anywhere i have nix.
i originally created it because the version in nixpkgs was too old, but it's since caught up
and now i've simplified the flake to just use that. all it does now is create a custom coco
that launches coconut --jupyter console and includes some useful python packages
like numpy and pylab. i may update it in the future if i need a newer version (and dream2nix
becomes more usable).
nix run github:bj0/nix-coconut#coco
nix profile install github:bj0/nix-coconut#coco
then > coco
-
requires nix with flakes enabled
-
if you get an error about writing a lock file, use:
--no-write-lock-file- the
--no-write-lock-fileis required to run from the github repo, running locally does not require it
- the
-
updated to coconut 3.1.0
-
switched from experimental dream2nix to nixpkgs recipe
- relys on python packages in nixpkgs, so latest not available, limited to 3.1.0
- might switch back to dream2nix when it's more stable
-
previously, the python used to run
coconutwas leaked to the environment, but no longer