An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(MM-65): add nix build output for relay binary using crane #10

open opened by malpercio.dev targeting main from malpercio/mm-65-nix-flake-relay-build-output

Summary#

  • Adds nix build .#relay (and nix build via default) to flake.nix
  • Uses crane's two-phase build (buildDepsOnlybuildPackage) for cached dependency derivations
  • Passes sqlite + pkg-config so rusqlite links correctly; LIBSQLITE3_SYS_USE_PKG_CONFIG=1 mirrors the devenv setup
  • Pins crane via flake.lock

Test plan#

  • nix build .#relay --accept-flake-config completes without error
  • ./result/bin/relay runs without crashing (prints relay starting)
  • nix build --accept-flake-config (default) also resolves to the relay binary
  • Dev shell still works: nix develop --impure --accept-flake-config

Closes MM-65

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:web:malpercio.dev/sh.tangled.repo.pull/3mgjgjj65hz22
Diff #0

No differences found between the selected revisions.

History

1 round 0 comments
sign up or login to add to the discussion
malpercio.dev submitted #0
patch application failed: error: No valid patches in input (allow with "--allow-empty")
expand 0 comments