Files
flake-hub/justfile
T
Oleks ef014a9116 chore: rename gitea-projects-api → gitea-local-fork
The fork tracked by this derivation is no longer a single-feature
branch ("feat/projects-api") but the integration tip of Oleks's
local gitea fork ($HOME/projects/gitea, branch oleks/main), carrying
upstream/main + PR #37518 Projects REST API + a CI gate + fork-local
commits. Reflect the broader scope in the package and attribute name,
and document the local fork path + branch in the derivation header.
2026-05-13 13:39:39 +03:00

51 lines
2.1 KiB
Makefile

default:
@just --list
# ── Antigravity ────────────────────────────────────────────
# Run antigravity (FHS-wrapped) from the attic cache
antigravity-run:
nix run \
--extra-substituters "https://nix-cache-custom.oleks.space/attic-infra-cache-k3s-1" \
--extra-trusted-public-keys "attic-infra-cache-k3s-1:qYSNK3DmttQXCFqn1t50qoWGtQNPRFWq9mgQjD05DeU=" \
git+https://git.oleks.space/oleks/flake-hub#google-antigravity
# Run antigravity (non-FHS variant) from the attic cache
antigravity-run-no-fhs:
nix run \
--extra-substituters "https://nix-cache-custom.oleks.space/attic-infra-cache-k3s-1" \
--extra-trusted-public-keys "attic-infra-cache-k3s-1:qYSNK3DmttQXCFqn1t50qoWGtQNPRFWq9mgQjD05DeU=" \
git+https://git.oleks.space/oleks/flake-hub#google-antigravity-no-fhs
# Build antigravity (FHS-wrapped)
antigravity-build:
nix build .#google-antigravity --print-build-logs
# Build antigravity (non-FHS variant)
antigravity-build-no-fhs:
nix build .#google-antigravity-no-fhs --print-build-logs
# Pull the latest jacopone/antigravity-nix pin
antigravity-update:
nix flake update antigravity-nix
# ── gitea-local-fork ───────────────────────────────────────
# Builds Oleks's local gitea fork (/home/oleks/projects/gitea, branch oleks/main).
# Build the gitea fork (compiles Go 1.26.3 first time; ~5-8 min cold)
gitea-build:
nix build .#gitea-local-fork --print-build-logs
# Refresh gitea-local-fork: bump rev/hashes/version, retag the gitea fork, push both repos
gitea-update:
nix run nixpkgs#nix-update -- \
--flake gitea-local-fork \
--use-update-script
# Run gitea from the attic-cached build (no local recompile)
gitea-run:
nix run \
--extra-substituters "https://nix-cache-custom.oleks.space/attic-infra-cache-k3s-1" \
--extra-trusted-public-keys "attic-infra-cache-k3s-1:qYSNK3DmttQXCFqn1t50qoWGtQNPRFWq9mgQjD05DeU=" \
git+https://git.oleks.space/oleks/flake-hub#gitea-local-fork -- --help