mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-08 05:18:55 -05:00
[PR #199] [MERGED] fix(nix): enable sandboxed builds with bun2nix #580
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/199
Author: @arunavo4
Created: 2/27/2026
Status: ✅ Merged
Merged: 2/27/2026
Merged by: @arunavo4
Base:
main← Head:fix/nix-sandboxed-build📝 Commits (2)
cf10adcfix(nix): enable sandboxed builds with bun2nixc2a853cfix(nix): create writable workdir for database access📊 Changes
6 files changed (+3969 additions, -90 deletions)
View changed files
📝
.github/workflows/nix-build.yml(+2 -10)📝
bun.lock(+67 -66)➕
bun.nix(+3724 -0)📝
flake.lock(+110 -1)📝
flake.nix(+64 -12)📝
package.json(+2 -1)📄 Description
Summary
nanoidas an explicit dependency (was directly imported from 5 source files but only available as a transitive dep throughbetter-auth, which breaks with bun2nix's isolated linker)bunx/astro writing to the read-only Nix storenix buildinstead of just evaluating the derivationbun2nixCLI to the devShell — runbun2nix -o bun.nixafter changing dependenciesCloses #197
Test plan
nix flake checkpassesnix build --print-build-logscompletes successfully (verified on macOS aarch64)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.