File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 20
20
programs . mypy . enable = true ;
21
21
programs . mypy . directories . "." = {
22
22
modules = [ "qbpm" "tests" ] ;
23
- extraPythonPackages = with pkgs . python3 . pkgs ; [ pyxdg click ] ;
23
+ extraPythonPackages = self . packages . x86_64-linux . default . propagatedBuildInputs ;
24
24
} ;
25
25
programs . ruff . check = true ;
26
26
programs . ruff . format = true ;
36
36
default = qbpm ;
37
37
} ;
38
38
devShells . default = pkgs . mkShell {
39
- buildInputs = with pkgs ; [
40
- ruff
41
- ( python3 . withPackages ( ps :
42
- with ps ; [
43
- pyxdg
44
- click
45
-
46
- pytest
47
- mypy
48
- pylsp-mypy
49
- ruff-lsp
50
- ] ) )
51
- ] ;
39
+ packages = with pkgs ;
40
+ [
41
+ ruff
42
+ ( python3 . withPackages ( ps :
43
+ with ps ; [
44
+ pytest
45
+ mypy
46
+ pylsp-mypy
47
+ ruff-lsp
48
+ ] ) )
49
+ ]
50
+ ++ self . packages . x86_64-linux . default . propagatedBuildInputs ;
52
51
} ;
53
52
formatter = treefmt . config . build . wrapper ;
54
53
checks . formatting = treefmt . config . build . check self ;
You can’t perform that action at this time.
0 commit comments