{ pkgs ? import {}, mkPoetryEnv ? ((builtins.getFlake "github:nix-community/poetry2nix").lib.mkPoetry2Nix {inherit pkgs;}).mkPoetryEnv, }: pkgs.mkShellNoCC { packages = with pkgs; [ (mkPoetryEnv { projectDir = ./.; preferWheels = true; editablePackageSources = {nix_background_upgrade = ./src;}; extraPackages = ps: with ps; [mypy]; }) poetry ]; }