Files
sorry/shell.nix
2022-02-10 13:16:17 +05:30

26 lines
584 B
Nix

{
tinypkgs ? import (fetchTarball https://gitlab.inria.fr/nix-tutorial/packages-repository/-/archive/master/packages-repository-master.tar.gz) {}
}:
with tinypkgs; # Put tinypkgs's attributes in the current scope.
with pkgs; # Same for pkgs.
mkShell {
buildInputs = [
chord
# Defines a python + set of packages.
(python3.withPackages (ps: with ps; with python3Packages; [
jupyter
ipython
seaborn
pandas
numpy
matplotlib
]))
];
# Automatically run jupyter when entering the shell.
shellHook = "jupyter notebook";
}