[PR #194] [MERGED] nix: fix runtime wrapper paths and startup script packaging #181

Closed
opened 2026-02-27 15:55:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/194
Author: @arunavo4
Created: 2/26/2026
Status: Merged
Merged: 2/26/2026
Merged by: @arunavo4

Base: mainHead: codex/fix-nix-setup-v2


📝 Commits (2)

  • 9f11cb7 nix: fix flake module and runtime scripts
  • 6722084 docs: refresh readme and docs links/examples

📊 Changes

6 files changed (+27 additions, -22 deletions)

View changed files

📝 NIX.md (+1 -1)
📝 README.md (+3 -3)
📝 docs/DEVELOPMENT_WORKFLOW.md (+5 -5)
📝 docs/NIX_DISTRIBUTION.md (+8 -8)
📝 docs/README.md (+3 -3)
📝 flake.nix (+7 -2)

📄 Description

Summary

  • fix runtime wrapper paths to avoid using $out at runtime and resolve app dir from script location
  • include src/, drizzle/, and tsconfig.json in the Nix package so startup TypeScript scripts can resolve imports

Docker verification

  • docker run ... nix flake check
  • docker run ... nix build .#gitea-mirror
  • docker run ... timeout 15s ./result/bin/gitea-mirror
    • startup recovery/config scripts ran successfully
    • app booted and listened on port 4321

Context

This is a follow-up after the earlier Nix PR merge, fixing the remaining runtime issues discovered during containerized verification.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RayLabsHQ/gitea-mirror/pull/194 **Author:** [@arunavo4](https://github.com/arunavo4) **Created:** 2/26/2026 **Status:** ✅ Merged **Merged:** 2/26/2026 **Merged by:** [@arunavo4](https://github.com/arunavo4) **Base:** `main` ← **Head:** `codex/fix-nix-setup-v2` --- ### 📝 Commits (2) - [`9f11cb7`](https://github.com/RayLabsHQ/gitea-mirror/commit/9f11cb7d6b29fe5af6a7c7802df6214e8545d5ac) nix: fix flake module and runtime scripts - [`6722084`](https://github.com/RayLabsHQ/gitea-mirror/commit/67220843bd8a8b2cc975dfaa3d95464ecb01d69e) docs: refresh readme and docs links/examples ### 📊 Changes **6 files changed** (+27 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `NIX.md` (+1 -1) 📝 `README.md` (+3 -3) 📝 `docs/DEVELOPMENT_WORKFLOW.md` (+5 -5) 📝 `docs/NIX_DISTRIBUTION.md` (+8 -8) 📝 `docs/README.md` (+3 -3) 📝 `flake.nix` (+7 -2) </details> ### 📄 Description ## Summary - fix runtime wrapper paths to avoid using `$out` at runtime and resolve app dir from script location - include `src/`, `drizzle/`, and `tsconfig.json` in the Nix package so startup TypeScript scripts can resolve imports ## Docker verification - `docker run ... nix flake check` ✅ - `docker run ... nix build .#gitea-mirror` ✅ - `docker run ... timeout 15s ./result/bin/gitea-mirror` ✅ - startup recovery/config scripts ran successfully - app booted and listened on port 4321 ## Context This is a follow-up after the earlier Nix PR merge, fixing the remaining runtime issues discovered during containerized verification. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:55:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gitea-mirror#181
No description provided.