mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Create a dummy null package for the current project in case any dependencies depend on the root project
Closes #307
This commit is contained in:
parent
658be43f20
commit
85bb626d83
1 changed files with 4 additions and 1 deletions
|
@ -190,7 +190,10 @@ lib.makeScope pkgs.newScope (self: {
|
|||
(lib.reverseList compatible)
|
||||
);
|
||||
in
|
||||
lockPkgs;
|
||||
lockPkgs // {
|
||||
# Create a dummy null package for the current project in case any dependencies depend on the root project (issue #307)
|
||||
${pyProject.tool.poetry.name} = null;
|
||||
};
|
||||
overlays = builtins.map
|
||||
getFunctorFn
|
||||
(
|
||||
|
|
Loading…
Add table
Reference in a new issue