summaryrefslogtreecommitdiff
path: root/nix/server.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-06 18:51:30 -0400
committerseth <[email protected]>2023-09-07 11:50:26 -0400
commit0f3a367d27c909b803baf0185d0b6e0ade968c3a (patch)
tree03b1b04127029289c1356bf2c0597b5aa8a37aec /nix/server.nix
parent8d8dc0896fc8c7f0d2f10087db39cac4e3149c66 (diff)
flake: start using flake-parts + add vm test
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 "$@"
'';