Run jupyter automatically in python datasci

This commit is contained in:
coolneng 2022-10-20 10:29:28 +02:00
parent c866015907
commit b5abb09507
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }: { pkgs ? import <nixpkgs> { } }:
with pkgs; with pkgs;
{ mkShell {
buildInputs = [ buildInputs = [
python3 python3
python3Packages.jupyter python3Packages.jupyter
@ -12,4 +12,8 @@ with pkgs;
python3Packages.matplotlib python3Packages.matplotlib
python3Packages.seaborn python3Packages.seaborn
]; ];
shellHook = ''
jupyter notebook
'';
} }