Nix packaging #71

Closed
opened 2026-10-05 01:39:28 +02:00 by adam · 7 comments
Owner

Hey!

Could you package this with nix?

Thanks,
Alex <3

Hey! Could you package this with nix? Thanks, Alex <3 <!-- github-sync-id:3572085697 -->
adam closed this issue 2026-10-05 01:39:28 +02:00
Author
Owner

@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.

@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. <!-- github-comment-id:3471241057 -->
Author
Owner

Okie!

Okie! <!-- github-comment-id:3471670934 -->
Author
Owner

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
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 ``` <!-- github-comment-id:3734223131 -->
Author
Owner

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

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 <!-- github-comment-id:3964276802 -->
Author
Owner

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
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" /> <!-- github-comment-id:3965111024 -->
Author
Owner

@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.

@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. <!-- github-comment-id:3965954377 -->
Author
Owner

@sbourdeauducq nix isn't really bloated LOL

learn what you're talking about bozo

@sbourdeauducq nix isn't really bloated LOL learn what you're talking about bozo <!-- github-comment-id:4016525180 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#71