From fe1eb6dcf59f06833b3a25249600a6d99d655d30 Mon Sep 17 00:00:00 2001 From: Mike Heier Date: Mon, 10 Jul 2023 14:38:07 -0400 Subject: [PATCH] add setuptools to the bulidinputs for poetry2nix --- flake.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index a0f9dba4..b68ae82e 100644 --- a/flake.nix +++ b/flake.nix @@ -35,6 +35,15 @@ default = self.packages.${system}.${projectName}; ${projectName} = pkgs.poetry2nix.mkPoetryApplication { projectDir = ./.; + overrides = poetry2nix.defaultPoetryOverrides.extend + (self: super: { + ${projectName} = super.${projectName}.overridePythonAttrs + ( + old: { + buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ]; + } + ); + }); }; }); nixosModules = {