diff --git a/packages/packages.nix b/packages/packages.nix index d8ab905..3cae71a 100644 --- a/packages/packages.nix +++ b/packages/packages.nix @@ -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 { diff --git a/packages/poetry2nix-overrides/default.nix b/packages/poetry2nix-overrides/default.nix new file mode 100644 index 0000000..9bc15cf --- /dev/null +++ b/packages/poetry2nix-overrides/default.nix @@ -0,0 +1,7 @@ +final: prev: { + py-multibase = prev.py-multibase.overridePythonAttrs (old: { + nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ + final.pytestrunner + ]; + }); +} \ No newline at end of file