nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 apple-sdk_14,
3 copyfile,
4 mkAppleDerivation,
5}:
6
7mkAppleDerivation {
8 releaseName = "libutil";
9
10 outputs = [
11 "out"
12 "dev"
13 "man"
14 ];
15
16 xcodeHash = "sha256-LwR9fmvcdJ/QYlOx+7ffhV4mKvjkwN3rX3+yHSCovKQ=";
17
18 patches = [
19 # The only change from macOS 13 to 14 was setting this flag. Check at runtime and only set if supported.
20 ./patches/0001-Conditionally-pre-condition.patch
21 ];
22
23 buildInputs = [
24 (apple-sdk_14.override { enableBootstrap = true; })
25 copyfile
26 ];
27
28 meta.description = "System utilities library";
29}