add setuptools to the bulidinputs for poetry2nix
This commit is contained in:
parent
0adaf03de5
commit
fe1eb6dcf5
|
@ -35,6 +35,15 @@
|
||||||
default = self.packages.${system}.${projectName};
|
default = self.packages.${system}.${projectName};
|
||||||
${projectName} = pkgs.poetry2nix.mkPoetryApplication {
|
${projectName} = pkgs.poetry2nix.mkPoetryApplication {
|
||||||
projectDir = ./.;
|
projectDir = ./.;
|
||||||
|
overrides = poetry2nix.defaultPoetryOverrides.extend
|
||||||
|
(self: super: {
|
||||||
|
${projectName} = super.${projectName}.overridePythonAttrs
|
||||||
|
(
|
||||||
|
old: {
|
||||||
|
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools ];
|
||||||
|
}
|
||||||
|
);
|
||||||
|
});
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
nixosModules = {
|
nixosModules = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user