Skip to content

bj0/nix-coconut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Launch a Coconut (jupyter) shell using nix

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

Install it in a nix profile

nix profile install github:bj0/nix-coconut#coco

then > coco

NOTES

  • requires nix with flakes enabled

  • if you get an error about writing a lock file, use: --no-write-lock-file

    • the --no-write-lock-file is required to run from the github repo, running locally does not require it
  • 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 coconut was leaked to the environment, but no longer

About

nix flake for launching coconut shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages