Skip to content

Commit

Permalink
Fix file deps test
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Jan 18, 2022
1 parent 2fb1527 commit f08dcc4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/file-src-deps-level2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
});
});
}
5 changes: 5 additions & 0 deletions tests/file-src-deps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
});
});
}

0 comments on commit f08dcc4

Please sign in to comment.