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:
adisbladis 2022-01-05 07:43:37 +00:00
parent 658be43f20
commit 85bb626d83

View file

@ -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
(