gestioCOF/shell.nix

19 lines
355 B
Nix

{ pkgs ? import <nixpkgs> { }, ... }:
pkgs.mkShell {
shellHook = ''
export DJANGO_SETTINGS_MODULE=gestioasso.settings.local
virtualenv .venv
source .venv/bin/activate
'';
packages = with pkgs; [
python38
python38Packages.pip
python38Packages.virtualenv
python38Packages.python-ldap
];
allowSubstitutes = false;
}