flake: fix missing setuptools imports

This commit is contained in:
xeals 2022-12-07 13:06:25 +11:00
parent 4537511dab
commit 7d59e09968
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C

View File

@ -9,10 +9,22 @@
overlay = nixpkgs.lib.composeManyExtensions [ overlay = nixpkgs.lib.composeManyExtensions [
poetry2nix.overlay poetry2nix.overlay
(final: prev: { (final: prev: {
frontpage = prev.poetry2nix.mkPoetryApplication { frontpage = prev.poetry2nix.mkPoetryApplication
python = prev.python39; {
projectDir = ./.; python = prev.python39;
}; projectDir = ./.;
overrides =
prev.poetry2nix.overrides.withDefaults (final_: prev_:
nixpkgs.lib.listToAttrs
(builtins.map
(name: {
inherit name;
value = prev_."${name}".overridePythonAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ final_.setuptools ];
});
})
[ "beaker" "flask-pyoidc-oda" "oic" ]));
};
}) })
]; ];