Merge pull request #197678 from xddxdd/fix-resilio-sync

This commit is contained in:
Martin Weinelt
2022-11-04 00:32:11 +01:00
committed by GitHub
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ... }:
{ lib, stdenv, fetchurl, libxcrypt, ... }:
stdenv.mkDerivation rec {
pname = "resilio-sync";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
install -D rslsync "$out/bin/rslsync"
patchelf \
--interpreter "$(< $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath ${lib.makeLibraryPath [ stdenv.cc.libc ]} "$out/bin/rslsync"
--set-rpath ${lib.makeLibraryPath [ stdenv.cc.libc libxcrypt ]} "$out/bin/rslsync"
'';
meta = with lib; {