diff --git a/flake.nix b/flake.nix index 18f5925..90cea99 100644 --- a/flake.nix +++ b/flake.nix @@ -9,10 +9,22 @@ overlay = nixpkgs.lib.composeManyExtensions [ poetry2nix.overlay (final: prev: { - frontpage = prev.poetry2nix.mkPoetryApplication { - python = prev.python39; - projectDir = ./.; - }; + frontpage = prev.poetry2nix.mkPoetryApplication + { + 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" ])); + }; }) ];