adv_cmds: add xcode derivation
This commit is contained in:
parent
de87138b9a
commit
8e301fab50
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv, fetchurl, xcbuild, xpc }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "adv_cmds";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://opensource.apple.com/tarballs/adv_cmds/adv_cmds-163.tar.gz";
|
||||||
|
sha256 = "12gbv35i09aij9g90p6b3x2f3ramw43qcb2gjrg8lzkzmwvcyw9q";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace pkill/pkill.c \
|
||||||
|
--replace '#include <xpc/xpc.h>' ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ xcbuild xpc ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
platforms = stdenv.lib.platforms.darwin;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||||
|
};
|
||||||
|
}
|
@ -17377,4 +17377,6 @@ in
|
|||||||
xulrunner = firefox-unwrapped;
|
xulrunner = firefox-unwrapped;
|
||||||
|
|
||||||
nitrokey-app = callPackage ../tools/security/nitrokey-app { };
|
nitrokey-app = callPackage ../tools/security/nitrokey-app { };
|
||||||
|
|
||||||
|
adv_cmds = callPackage ../os-specific/darwin/apple-source-releases/adv_cmds/xcode.nix {};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user