pax: fix build on darwin
This commit is contained in:
parent
511a519da1
commit
9c177f0a1f
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
'';
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue