{ description = "A bare python flake"; inputs = { flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (sys: let pkgs = nixpkgs.legacyPackages.${sys}; python = pkgs.python310.withPackages (ps: with ps; [ matplotlib ipython ]); in rec { devShells.default = python; } ); }