fix: only run patchelf on linux

This commit is contained in:
Henry-Hiles authored and Ellis Git committed 2026-04-08 20:14:36 +00:00
1 parent 2ab177f100
commit 379ef5014c
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ craneLib.buildPackage (
cargoArtifacts = craneLib.buildDepsOnly attrs;
# Needed to make continuwuity link to rocksdb
postFixup = ''
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
old_rpath="$(patchelf --print-rpath $out/bin/conduwuit)"
extra_rpath="${
lib.makeLibraryPath [