mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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 {
|
||||
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; {
|
||||
|
Loading…
Reference in New Issue
Block a user