No description
|
|
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| end2end | ||
| migrations | ||
| public | ||
| src | ||
| style | ||
| .envrc | ||
| .gitignore | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| pkg.nix | ||
| README.md | ||
Hydra-rs
This project is supposed to be an alternative to the official Hydra Project.
Develpement is still on-going, but it's supposed to just be a drop-in replacement for hydra.
Current developement state
You can run it with
mkdir tmp
sqlx database create
sqlx migrate run
cargo leptos watch -- -d ./tmp
This will create a sqlite db in ./tmp.
PS: Sorry for the Arc<Mutex<\T>> hell
Todos
See: https://git.ole.blue/ole/hydra-rs/projects
How to hack
nix flake develop # or direnv allow
cargo leptos watch -- -d ./tmp
You also need stylance for the css
stylance -w ./
Idea
- Call
nix eval flakeUri --jsonin order to get json output. For example:
nix eval nix eval /home/ole/nixos#hydraJobs --json
-
Call
nix derivation show /nix/store/...on whatever store path(s) were printed out bynix eval. Parse the resulting json and get the .drv path from the json key. -
Call
nix-store --realise /nix/store/....drvwhich actually builds the derivation