diff --git a/tests/file-src-deps-level2/default.nix b/tests/file-src-deps-level2/default.nix index 9a73a07ad..e4b51f6f0 100644 --- a/tests/file-src-deps-level2/default.nix +++ b/tests/file-src-deps-level2/default.nix @@ -6,4 +6,9 @@ poetry2nix.mkPoetryApplication { poetrylock = ./poetry.lock; src = lib.cleanSource ./.; pwd = ./.; + overrides = poetry2nix.overrides.withDefaults (self: super: { + trivial = super.trivial.overridePythonAttrs (old: { + buildInputs = old.buildInputs or [ ] ++ [ self.poetry ]; + }); + }); } diff --git a/tests/file-src-deps/default.nix b/tests/file-src-deps/default.nix index 9a73a07ad..e4b51f6f0 100644 --- a/tests/file-src-deps/default.nix +++ b/tests/file-src-deps/default.nix @@ -6,4 +6,9 @@ poetry2nix.mkPoetryApplication { poetrylock = ./poetry.lock; src = lib.cleanSource ./.; pwd = ./.; + overrides = poetry2nix.overrides.withDefaults (self: super: { + trivial = super.trivial.overridePythonAttrs (old: { + buildInputs = old.buildInputs or [ ] ++ [ self.poetry ]; + }); + }); }