add setuptools to the bulidinputs for poetry2nix

This commit is contained in:
Mike Heier 2023-07-10 14:38:07 -04:00
parent 0adaf03de5
commit fe1eb6dcf5

View File

@ -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 = {