[GH-ISSUE #143] Nix packaging #70

Closed
opened 2026-02-27 15:54:56 +03:00 by kerem · 6 comments
Owner

Originally created by @umbrageodotus on GitHub (Oct 30, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/143

Originally assigned to: @arunavo4 on GitHub.

Hey!

Could you package this with nix?

Thanks,
Alex <3

Originally created by @umbrageodotus on GitHub (Oct 30, 2025). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/143 Originally assigned to: @arunavo4 on GitHub. Hey! Could you package this with nix? Thanks, Alex <3
kerem 2026-02-27 15:54:56 +03:00
Author
Owner

@arunavo4 commented on GitHub (Oct 31, 2025):

@umbrageodotus I have added a basic nix setup. Still need to test it. Would be great if you can test it or I will find some time on the weekend to test it out.

<!-- gh-comment-id:3471241057 --> @arunavo4 commented on GitHub (Oct 31, 2025): @umbrageodotus I have added a basic nix setup. Still need to test it. Would be great if you can test it or I will find some time on the weekend to test it out.
Author
Owner

@umbrageodotus commented on GitHub (Oct 31, 2025):

Okie!

<!-- gh-comment-id:3471670934 --> @umbrageodotus commented on GitHub (Oct 31, 2025): Okie!
Author
Owner

@sbourdeauducq commented on GitHub (Jan 11, 2026):

I'm running into this error (commit 2496d6f6e0):

> nix build
error: Cannot build '/nix/store/k6b4pzr46m98cs45hfmdv7f3fdxz3710-gitea-mirror-3.8.11.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/isf4vmw17gzk9bq6zk0liwl8cy7vbkd2-gitea-mirror-3.8.11
       Last 25 log lines:
       > error: ConnectionRefused downloading tarball yaml@2.7.1
       >
       > error: ConnectionRefused downloading tarball source-map@0.7.4
       >
       > error: ConnectionRefused downloading tarball property-information@6.5.0
       >
       > error: ConnectionRefused downloading tarball request-light@0.5.8
       >
       > error: FailedToOpenSocket downloading tarball @jridgewell/gen-mapping@0.3.8
       >
       > error: ConnectionRefused downloading tarball mdn-data@2.0.28
       >
       > error: ConnectionRefused downloading tarball @jridgewell/trace-mapping@0.3.25
       >
       > error: ConnectionRefused downloading tarball @babel/generator@7.27.3
       >
       > error: ConnectionRefused downloading tarball ansi-regex@6.1.0
       >
       > error: FailedToOpenSocket downloading tarball pako@0.2.9
       >
       > error: ConnectionRefused downloading tarball @types/unist@2.0.11
       >
       > error: ConnectionRefused downloading tarball jsonc-parser@3.3.1
       >
       > error: ConnectionRefused downloading tarball entities@4.5.0
       For full logs, run:
         nix log /nix/store/k6b4pzr46m98cs45hfmdv7f3fdxz3710-gitea-mirror-3.8.11.drv
<!-- gh-comment-id:3734223131 --> @sbourdeauducq commented on GitHub (Jan 11, 2026): I'm running into this error (commit 2496d6f6e0ee914dd0afed36748867b290a83088): ``` > nix build error: Cannot build '/nix/store/k6b4pzr46m98cs45hfmdv7f3fdxz3710-gitea-mirror-3.8.11.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/isf4vmw17gzk9bq6zk0liwl8cy7vbkd2-gitea-mirror-3.8.11 Last 25 log lines: > error: ConnectionRefused downloading tarball yaml@2.7.1 > > error: ConnectionRefused downloading tarball source-map@0.7.4 > > error: ConnectionRefused downloading tarball property-information@6.5.0 > > error: ConnectionRefused downloading tarball request-light@0.5.8 > > error: FailedToOpenSocket downloading tarball @jridgewell/gen-mapping@0.3.8 > > error: ConnectionRefused downloading tarball mdn-data@2.0.28 > > error: ConnectionRefused downloading tarball @jridgewell/trace-mapping@0.3.25 > > error: ConnectionRefused downloading tarball @babel/generator@7.27.3 > > error: ConnectionRefused downloading tarball ansi-regex@6.1.0 > > error: FailedToOpenSocket downloading tarball pako@0.2.9 > > error: ConnectionRefused downloading tarball @types/unist@2.0.11 > > error: ConnectionRefused downloading tarball jsonc-parser@3.3.1 > > error: ConnectionRefused downloading tarball entities@4.5.0 For full logs, run: nix log /nix/store/k6b4pzr46m98cs45hfmdv7f3fdxz3710-gitea-mirror-3.8.11.drv ```
Author
Owner

@arunavo4 commented on GitHub (Feb 26, 2026):

Nix packaging is available in v3.9.5.

Try:

  • nix run --extra-experimental-features "nix-command flakes" github:RayLabsHQ/gitea-mirror/v3.9.5
  • nix run --extra-experimental-features "nix-command flakes" github:RayLabsHQ/gitea-mirror

Release: https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.9.5

<!-- gh-comment-id:3964276802 --> @arunavo4 commented on GitHub (Feb 26, 2026): Nix packaging is available in v3.9.5. Try: - nix run --extra-experimental-features "nix-command flakes" github:RayLabsHQ/gitea-mirror/v3.9.5 - nix run --extra-experimental-features "nix-command flakes" github:RayLabsHQ/gitea-mirror Release: https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.9.5
Author
Owner

@sbourdeauducq commented on GitHub (Feb 26, 2026):

We got tired of this vibe-coded project that doesn't work, and replaced it with a very small Python script. The latter don't need Nix packaging, Docker, LXC container, or any other bloated stuff since it has so few dependencies.
Also I bought a bunch of Pivot-to-AI mugs for the office.

Image
<!-- gh-comment-id:3965111024 --> @sbourdeauducq commented on GitHub (Feb 26, 2026): We got tired of this vibe-coded project that doesn't work, and replaced it with a very small Python script. The latter don't need Nix packaging, Docker, LXC container, or any other bloated stuff since it has so few dependencies. Also I bought a bunch of Pivot-to-AI mugs for the office. <img width="1920" height="2560" alt="Image" src="https://github.com/user-attachments/assets/d7edf203-a9a1-4b42-b226-63ef28873465" />
Author
Owner

@arunavo4 commented on GitHub (Feb 26, 2026):

@sbourdeauducq happy that you solved your issue, the goal of this project was just to solve my issue. But all these extra features came up cause people wanted it overtime. But I am definitely all in for ai projects. Well few things will break and we fix thats the whole point of open source projects. No hate just that its fun building stuff that solves your problems.

<!-- gh-comment-id:3965954377 --> @arunavo4 commented on GitHub (Feb 26, 2026): @sbourdeauducq happy that you solved your issue, the goal of this project was just to solve my issue. But all these extra features came up cause people wanted it overtime. But I am definitely all in for ai projects. Well few things will break and we fix thats the whole point of open source projects. No hate just that its fun building stuff that solves your problems.
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#70
No description provided.