kadenios/shell.nix

23 lines
382 B
Nix
Raw Normal View History

2022-08-01 13:33:30 +02:00
let
mach-nix = import
(builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix";
ref = "refs/tags/3.5.0";
})
{ };
requirements = builtins.readFile ./requirements.txt;
requirements-dev = ''
django-debug-toolbar
ipython
black
isort
flake8
'';
in
mach-nix.mkPythonShell {
requirements = requirements + requirements-dev;
}