mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-04-09 20:55:50 +00:00
fix: only run patchelf on linux
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user