File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 99
1010 outputs =
1111 {
12+ self ,
1213 flake-parts ,
1314 ...
1415 } @inputs :
15- flake-parts . lib . mkFlake { inherit inputs ; } (
16+ flake-parts . lib . mkFlake { inherit inputs self ; } (
1617 top @{ ... } :
1718 {
1819 imports = [
5152
5253 pythonDev = myPython . withPackages ( p : [
5354 p . black
55+ p . cryptography
56+ p . flask
57+ p . freezegun
5458 p . gunicorn
5559 p . isort
56- p . snapbin-editable
5760 p . mypy
61+ p . peewee
5862 p . pylint
5963 p . pylsp-mypy
6064 p . pytest
6367 p . python-lsp-ruff
6468 p . python-lsp-server
6569 p . ruff
70+ p . snapbin-editable
6671 ] ) ;
67- pythonProd = myPython . withPackages ( p : [
72+ pythonProd = pkgs . python312 . withPackages ( p : [
73+ p . cryptography
74+ p . flask
6875 p . gunicorn
69- p . snapbin-editable
76+ p . peewee
7077 ] ) ;
7178 in
7279 {
93100 tag = "latest" ;
94101 copyToRoot = pkgs . buildEnv {
95102 name = "image-root" ;
96- paths = [ pythonProd ] ;
103+ paths = [
104+ pythonProd
105+ self
106+ ] ;
97107 } ;
98108 config = {
99109 Cmd = [
You can’t perform that action at this time.
0 commit comments