resilio-sync: fix build with libxcrypt
This commit is contained in:
parent
8e22463268
commit
dccf26609c
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, ... }:
|
{ lib, stdenv, fetchurl, libxcrypt, ... }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "resilio-sync";
|
pname = "resilio-sync";
|
||||||
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
install -D rslsync "$out/bin/rslsync"
|
install -D rslsync "$out/bin/rslsync"
|
||||||
patchelf \
|
patchelf \
|
||||||
--interpreter "$(< $NIX_CC/nix-support/dynamic-linker)" \
|
--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; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user