Skip to content

Instantly share code, notes, and snippets.

@Vinetos
Last active December 17, 2021 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vinetos/5fededcf735523d6ee75578fd27c157c to your computer and use it in GitHub Desktop.
Save Vinetos/5fededcf735523d6ee75578fd27c157c to your computer and use it in GitHub Desktop.
Jupyer NoteBook on NixOS with Numpy and matplotlib
with import <nixpkgs> {};
mkShell {
buildInputs = [
# Defines a python + set of packages.
(python3.withPackages (ps: with ps; with python3Packages; [
jupyter
ipython
# Uncomment the following lines to make them available in the shell.
numpy
matplotlib
scikitimage
scipy
]))
];
# Automatically run jupyter when entering the shell.
shellHook = "jupyter notebook";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment