summaryrefslogtreecommitdiff
path: root/nix/server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/server.nix')
-rw-r--r--nix/server.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nix/server.nix b/nix/server.nix
index 18e4673..eaa3ead 100644
--- a/nix/server.nix
+++ b/nix/server.nix
@@ -1,12 +1,12 @@
{
writeShellApplication,
- python311,
+ python,
+ uvicorn,
guzzle-api,
- ...
}:
writeShellApplication {
name = "guzzle-api-server";
- runtimeInputs = [(python311.withPackages (p: [p.uvicorn guzzle-api]))];
+ runtimeInputs = [(python.withPackages (_: [uvicorn guzzle-api]))];
text = ''
uvicorn guzzle_api.api:app "$@"
'';