This commit is contained in:
parent
ed33bdfcba
commit
a3b5392f7f
8 changed files with 38 additions and 19 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
in rec {
|
||||
|
||||
packages.default = pkgs.python3Packages.buildPythonPackage {
|
||||
packages.default = pkgs.python3Packages.buildPythonApplication {
|
||||
pname = pyprojecttoml.project.name;
|
||||
version = pyprojecttoml.project.version;
|
||||
pyproject = true;
|
||||
|
@ -43,8 +43,8 @@
|
|||
'';
|
||||
};
|
||||
|
||||
packages.editable = pkgs.python3Packages.mkPythonEditablePackage {
|
||||
inherit (packages.default) name version dependencies;
|
||||
packages.editable = pkgs.python3Packages.mkPythonEditableApplication {
|
||||
scripts = pyprojecttoml.project.scripts;
|
||||
root = "$PWD/src";
|
||||
passthru = { inherit (packages.default) nativeCheckInputs; };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue