pkgsStatic.rcshist: fix static build

Add dependency on musl standalone implementation of "fts.h" in case of
pkgsMusl/pkgsStatic build; this interface is provided as part of libc
proper by glibc.

authored by

Dmitry Bogatov and committed by
Yt
c0d004af b3dd9ec2

+5
+5
pkgs/applications/version-management/rcshist/default.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 }: 5 6 stdenv.mkDerivation { 7 pname = "rcshist"; 8 version = "1.04"; 9 10 src = fetchurl { 11 url = "https://web.archive.org/web/20220508220019/https://invisible-island.net/datafiles/release/rcshist.tar.gz";
··· 1 { lib 2 , stdenv 3 , fetchurl 4 + , musl-fts 5 }: 6 7 stdenv.mkDerivation { 8 pname = "rcshist"; 9 version = "1.04"; 10 + 11 + configureFlags = lib.optional stdenv.hostPlatform.isMusl "LIBS=-lfts"; 12 + 13 + buildInputs = lib.optional stdenv.hostPlatform.isMusl musl-fts; 14 15 src = fetchurl { 16 url = "https://web.archive.org/web/20220508220019/https://invisible-island.net/datafiles/release/rcshist.tar.gz";