Fix uv's shell.nix (& add python-slugify)

This commit is contained in:
Zoe Roux 2025-05-23 09:59:21 +02:00
parent d9a1fd00ed
commit 5340d0fd26
No known key found for this signature in database
4 changed files with 420 additions and 390 deletions

View File

@ -12,6 +12,7 @@ dependencies = [
"langcodes>=3.5.0",
"pydantic>=2.11.4",
"pyjwt[crypto]>=2.10.1",
"python-slugify>=8.0.4",
"watchfiles>=1.0.5",
]

View File

@ -9,6 +9,7 @@
langcodes
asyncpg
pyjwt
python-slugify
]);
in
pkgs.mkShell {
@ -19,4 +20,7 @@ in
fastapi-cli
pgformatter
];
UV_PYTHON_PREFERENCE = "only-system";
UV_PYTHON = pkgs.python313;
}

803
scanner/uv.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -12,4 +12,6 @@ pkgs.mkShell {
# env vars aren't inherited from the `inputsFrom`
SHARP_FORCE_GLOBAL_LIBVIPS = 1;
UV_PYTHON_PREFERENCE = "only-system";
UV_PYTHON = pkgs.python313;
}