{ sources ? import ./npins, pkgs ? import sources.nixpkgs { }, }: let nix-pkgs = import sources.nix-pkgs { inherit pkgs; }; python3 = pkgs.python3.override { packageOverrides = _: _: { inherit (nix-pkgs) django-autoslug django-cas-ng loadcredential markdown-icons ; }; }; in { devShell = pkgs.mkShell { name = "gestiojeux.dev"; packages = [ (python3.withPackages (ps: [ ps.django ps.django-autoslug ps.loadcredential ps.django-cas-ng ps.django-cleanup ps.django-haystack ps.django-markdownx ps.django-tables2 ps.pillow ps.whoosh # Django haystack is drunk ps.setuptools ])) ]; env = { DJANGO_SETTINGS_MODULE = "gestiojeux.settings"; CREDENTIALS_DIRECTORY = builtins.toString ./.credentials; GESTIOJEUX_DEBUG = builtins.toJSON true; }; }; }