From b85a6535fe850f2771153355fd7be14a315f9c90 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 19 Mar 2025 18:14:42 +0100 Subject: [PATCH] shell.nix: add python with all packages --- flake.nix | 2 +- nix/shell.nix | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index afdb54e..c6e7c8f 100644 --- a/flake.nix +++ b/flake.nix @@ -42,7 +42,7 @@ devShells = forAllSystems (system: pkgs: { default = self.devShells.${system}.dibbler; dibbler = pkgs.callPackage ./nix/shell.nix { - python3Packages = pkgs.python312Packages; + python = pkgs.python312; }; }); diff --git a/nix/shell.nix b/nix/shell.nix index d62f15d..fadb097 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -1,12 +1,18 @@ { mkShell, - python3Packages, + python, ruff, }: mkShell { packages = [ - python3Packages.black ruff + (python.withPackages (ps: with ps; [ + brother-ql + matplotlib + psycopg2 + python-barcode + sqlalchemy + ])) ]; }