pax: fix build on darwin

This commit is contained in:
Sebastián Mancilla 2021-11-18 13:17:59 -03:00 committed by Jonathan Ringer
parent 511a519da1
commit 9c177f0a1f
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, utmp }:
stdenv.mkDerivation rec {
pname = "pax";
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1p18nxijh323f4i1s2pg7pcr0557xljl5avv8ll5s9nfr34r5j0w";
};
buildInputs = lib.optional stdenv.isDarwin utmp;
buildPhase = ''
sh Build.sh -r -tpax
'';

View file

@ -4759,7 +4759,9 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
pax = callPackage ../tools/archivers/pax { };
pax = callPackage ../tools/archivers/pax {
inherit (pkgs.darwin.apple_sdk.libs) utmp;
};
rage = callPackage ../tools/security/rage {
inherit (darwin.apple_sdk.frameworks) Foundation Security;