fix(freebuff): patch pre-built binary with patchelf for NixOS compatibility

- Download and extract the engine binary from codebuff.com releases
- Use patchelf to set correct glibc interpreter path
- Create wrapper launcher that copies patched binary to user config
- Pre-fetch all npm dependencies (no network needed in sandbox)
- Set dontStrip/dontPatchelf to prevent fixupPhase corruption
This commit is contained in:
2026-05-12 09:31:40 +03:00
parent c7029a0d34
commit 6c5fdd7331
2 changed files with 112 additions and 5 deletions

View File

@@ -1 +1 @@
{ pkgs, ... }: pkgs.callPackage ./package.nix { }
{ pkgs, ... }: pkgs.callPackage ./package.nix { glibc = pkgs.stdenv.cc.libc; }