pax: fix build with musl (#193195)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
ecf2b9b71e
commit
b3091f774e
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, utmp }:
|
||||
{ lib, stdenv, fetchurl, utmp, musl-fts }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pax";
|
||||
|
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1p18nxijh323f4i1s2pg7pcr0557xljl5avv8ll5s9nfr34r5j0w";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin utmp;
|
||||
buildInputs = lib.optional stdenv.isDarwin utmp
|
||||
++ lib.optional stdenv.hostPlatform.isMusl musl-fts;
|
||||
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-lfts";
|
||||
|
||||
buildPhase = ''
|
||||
sh Build.sh -r -tpax
|
||||
|
|
Loading…
Reference in a new issue