From 941b891e26b6ed692fc8b0296187e075af9514bc Mon Sep 17 00:00:00 2001 From: Yarny0 <41838844+Yarny0@users.noreply.github.com> Date: Tue, 4 Apr 2023 19:39:32 +0200 Subject: [PATCH] tsm-client: use `libxcrypt-legacy` to fix build Since commit 4e300e071b97e1e3a6ba4d856cc65e5386366f6f building `tsm-client` fails with error messages > error: auto-patchelf could not satisfy dependency libcrypt.so.1 wanted by [...] Luckily, commit 9b766dd41b9b49cb0c1b1f3317fc2273f1f8f3a0 introduces `libxcrypt-legacy` which again provides `libcrypt.so.1`. --- pkgs/tools/backup/tsm-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/backup/tsm-client/default.nix b/pkgs/tools/backup/tsm-client/default.nix index 23a544a6a3e6..870f323fd68c 100644 --- a/pkgs/tools/backup/tsm-client/default.nix +++ b/pkgs/tools/backup/tsm-client/default.nix @@ -5,7 +5,7 @@ , fetchurl , autoPatchelfHook , rpmextract -, libxcrypt +, libxcrypt-legacy , openssl , zlib , lvm2 # LVM image backup and restore functions (optional) @@ -117,7 +117,7 @@ let rpmextract ]; buildInputs = [ - libxcrypt + libxcrypt-legacy openssl stdenv.cc.cc zlib