From cb4585ecf8e851e4e67079c3160a53b6716d08af Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 27 Aug 2026 01:13:48 -0500 Subject: [PATCH] albyhub default.nix hash update --- packages/albyhub/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/albyhub/default.nix b/packages/albyhub/default.nix index 2c228d9..cab8529 100644 --- a/packages/albyhub/default.nix +++ b/packages/albyhub/default.nix @@ -63,5 +63,16 @@ buildGoModule rec { mv $out/bin/http $out/bin/albyhub ''; + preFixup = '' + # Go's external linker bakes the sandbox build dir into the RPATH; + # rewrite it to the real store paths before the fixup audit + patchelf --set-rpath ${ + lib.makeLibraryPath [ + (lib.getLib stdenv.cc.cc) + (lib.getLib stdenv.cc.libc) + ] + } $out/bin/albyhub + ''; + meta.mainProgram = "albyhub"; }