flake: fix missing setuptools imports
This commit is contained in:
parent
4537511dab
commit
7d59e09968
14
flake.nix
14
flake.nix
@ -9,9 +9,21 @@
|
|||||||
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;
|
python = prev.python39;
|
||||||
projectDir = ./.;
|
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