feat: add flake.nix for NixOS deployment
This commit is contained in:
parent
c3cb1d7046
commit
a081975234
3 changed files with 144 additions and 31 deletions
|
|
@ -12,18 +12,15 @@ dependencies = [
|
|||
[project.scripts]
|
||||
smolweb = "smolweb.cli:main"
|
||||
|
||||
# Local path sources: `uv.toml` cannot hold a `[sources]` table (uv only
|
||||
# reads that from pyproject.toml), so there is no separate override file to
|
||||
# split "reproducible" from "editable" -- this table is the only place it
|
||||
# can live. Both origins are real (code.randogoth.com), but this checkout's
|
||||
# wapdown/md2txt have unpushed local changes (the xhtmlmp renderer, the
|
||||
# gemtext fixes) that a git source can't see yet, so path is what actually
|
||||
# works right now. Once those are pushed, swap to:
|
||||
# wapdown = { git = "ssh://git@code.randogoth.com:2222/randogoth/wapdown.git" }
|
||||
# md2txt = { git = "ssh://git@code.randogoth.com:2222/randogoth/md2txt.git" }
|
||||
# `uv.toml` cannot hold a `[sources]` table (uv only reads that from
|
||||
# pyproject.toml), so there is no separate override file to split
|
||||
# "reproducible" from "editable" -- this table is the only place it can
|
||||
# live. Pin to `main` explicitly rather than floating, so a lockfile
|
||||
# resolution is reproducible; bump the rev after a sibling change smolweb
|
||||
# needs to pick up.
|
||||
[tool.uv.sources]
|
||||
wapdown = { path = "../wapdown", editable = true }
|
||||
md2txt = { path = "../md2txt", editable = true }
|
||||
wapdown = { git = "ssh://git@code.randogoth.com:2222/randogoth/wapdown.git", rev = "main" }
|
||||
md2txt = { git = "ssh://git@code.randogoth.com:2222/randogoth/md2txt.git", rev = "main" }
|
||||
|
||||
[dependency-groups]
|
||||
dev = ["pytest>=8.0"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue