packages: add poetry2nix support

This commit is contained in:
Max Headroom 2022-02-26 00:47:32 +01:00
parent 1de011fa23
commit b2cdf50d4e
2 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,9 @@ let
systems = [ system ]; systems = [ system ];
config.overridesDirs = [ ./dream2nix-overrides ]; config.overridesDirs = [ ./dream2nix-overrides ];
}; };
poetry2nix = pkgs.poetry2nix.overrideScope' (final: prev: {
defaultPoetryOverrides = prev.defaultPoetryOverrides.extend (import ./poetry2nix-overrides);
});
in in
{ {
ghost = (dream2nix.riseAndShine { ghost = (dream2nix.riseAndShine {

View file

@ -0,0 +1,7 @@
final: prev: {
py-multibase = prev.py-multibase.overridePythonAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [
final.pytestrunner
];
});
}