File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 17
17
system :
18
18
let
19
19
pkgs = nixpkgs . legacyPackages . ${ system } ;
20
- project = pyproject-nix . lib . project . loadPyproject { projectRoot = ./. ; } ;
20
+ pyproject = pyproject-nix . lib . project . loadPyproject { projectRoot = ./. ; } ;
21
21
python = pkgs . python3 ;
22
- projectPackage =
22
+ pyprojectPackage =
23
23
args :
24
24
python . pkgs . buildPythonApplication (
25
- args // project . renderers . buildPythonPackage { inherit python ; }
25
+ args // pyproject . renderers . buildPythonPackage { inherit python ; }
26
26
) ;
27
- projectEnv =
27
+ pyprojectEnv =
28
28
extraPackages :
29
- python . withPackages ( project . renderers . withPackages { inherit python extraPackages ; } ) ;
29
+ python . withPackages ( pyproject . renderers . withPackages { inherit python extraPackages ; } ) ;
30
30
in
31
31
{
32
- packages . qbpm = projectPackage {
32
+ packages . qbpm = pyprojectPackage {
33
33
nativeBuildInputs = [
34
34
pkgs . scdoc
35
35
pkgs . installShellFiles
50
50
devShells . default = pkgs . mkShell {
51
51
packages = [
52
52
self . formatter . ${ system }
53
- ( projectEnv (
53
+ ( pyprojectEnv (
54
54
ps : with ps ; [
55
55
pytest
56
56
mypy
You can’t perform that action at this time.
0 commit comments