From 0f3a367d27c909b803baf0185d0b6e0ade968c3a Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 6 Sep 2023 18:51:30 -0400 Subject: flake: start using flake-parts + add vm test --- nix/server.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nix/server.nix') 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 "$@" ''; -- cgit v1.2.3