811 B
811 B
python-shell
Using
- dev shell:
nix develop - edit
requirements.txtfor dev shell requirements
Jupyter in VSCode
To use jupyter in VSCode add these requirements:
ipykernel
nbformat
ipywidgets
Updating mach-nix pypi deps db
Add to inputs:
pypi-deps-db = {
url = "github:davhau/pypi-deps-db/0000000000000000000000000000000000000000";
flake = false;
};
mach-nix.inputs.pypi-deps-db.follows = "pypi-deps-db";
Adding git dependency
Add to mkPython (more info):
packagesExtra = [
(mach.buildPythonPackage
{
src = builtins.fetchGit {
url = "https://github.com/user/repo";
ref = "branch";
rev = "0000000000000000000000000000000000000000";
};
})
];