Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
670 B
Nix
36 lines
670 B
Nix
{
|
|
lib,
|
|
clang,
|
|
mkAppleDerivation,
|
|
buildPackages,
|
|
shell_cmds,
|
|
}:
|
|
|
|
mkAppleDerivation {
|
|
releaseName = "developer_cmds";
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
xcodeHash = "sha256-NurkF9AnPuaQ7Ev36PCknuTNV6z622yFi2bXZsow+xA=";
|
|
|
|
postPatch = ''
|
|
substituteInPlace rpcgen/rpc_main.c \
|
|
--replace-fail '/usr/bin/cpp' '${lib.getBin buildPackages.clang}/bin/${buildPackages.clang.targetPrefix}cpp'
|
|
'';
|
|
|
|
postInstall = ''
|
|
HOST_PATH='${lib.getBin shell_cmds}/bin' patchShebangs --host "$out/bin"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Developer commands for Darwin";
|
|
license = [
|
|
lib.licenses.bsd3
|
|
lib.licenses.bsdOriginal
|
|
];
|
|
};
|
|
}
|