flake: fix missing setuptools imports
This commit is contained in:
parent
4537511dab
commit
7d59e09968
20
flake.nix
20
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" ]));
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user