packages: add poetry2nix support
This commit is contained in:
parent
1de011fa23
commit
b2cdf50d4e
2 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,9 @@ let
|
|||
systems = [ system ];
|
||||
config.overridesDirs = [ ./dream2nix-overrides ];
|
||||
};
|
||||
poetry2nix = pkgs.poetry2nix.overrideScope' (final: prev: {
|
||||
defaultPoetryOverrides = prev.defaultPoetryOverrides.extend (import ./poetry2nix-overrides);
|
||||
});
|
||||
in
|
||||
{
|
||||
ghost = (dream2nix.riseAndShine {
|
||||
|
|
7
packages/poetry2nix-overrides/default.nix
Normal file
7
packages/poetry2nix-overrides/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
final: prev: {
|
||||
py-multibase = prev.py-multibase.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [
|
||||
final.pytestrunner
|
||||
];
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue