diff options
author | Monson Shao <holymonson@gmail.com> | 2021-01-14 22:32:07 +0800 |
---|---|---|
committer | Monson Shao <holymonson@gmail.com> | 2021-01-30 21:37:46 +0800 |
commit | 4bc22226a2a3118f710d25d4892fc7bf7fd7ca36 (patch) | |
tree | 9a79061e7286f20e1bc59e47b074ff8fbbe279c5 | |
parent | 0681f7f979fe4f132bf7a7e0dc651350574e3e80 (diff) | |
download | nixpkgs-4bc22226a2a3118f710d25d4892fc7bf7fd7ca36.tar nixpkgs-4bc22226a2a3118f710d25d4892fc7bf7fd7ca36.tar.gz nixpkgs-4bc22226a2a3118f710d25d4892fc7bf7fd7ca36.tar.bz2 nixpkgs-4bc22226a2a3118f710d25d4892fc7bf7fd7ca36.tar.lz nixpkgs-4bc22226a2a3118f710d25d4892fc7bf7fd7ca36.tar.xz nixpkgs-4bc22226a2a3118f710d25d4892fc7bf7fd7ca36.tar.zst nixpkgs-4bc22226a2a3118f710d25d4892fc7bf7fd7ca36.zip |
darwin.hfs: add appleHeaders and set headersOnly=true by default
-rw-r--r-- | pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix b/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix index 58f6fb8d7ab..58bac765a95 100644 --- a/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix +++ b/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix @@ -1,4 +1,4 @@ -{ appleDerivation, lib, headersOnly ? false }: +{ appleDerivation, lib, headersOnly ? true }: appleDerivation { installPhase = lib.optionalString headersOnly '' @@ -6,6 +6,39 @@ appleDerivation { cp core/*.h $out/include/hfs ''; + appleHeaders = '' + hfs/BTreeScanner.h + hfs/BTreesInternal.h + hfs/BTreesPrivate.h + hfs/CatalogPrivate.h + hfs/FileMgrInternal.h + hfs/HFSUnicodeWrappers.h + hfs/UCStringCompareData.h + hfs/hfs.h + hfs/hfs_alloc_trace.h + hfs/hfs_attrlist.h + hfs/hfs_btreeio.h + hfs/hfs_catalog.h + hfs/hfs_cnode.h + hfs/hfs_cprotect.h + hfs/hfs_dbg.h + hfs/hfs_endian.h + hfs/hfs_extents.h + hfs/hfs_format.h + hfs/hfs_fsctl.h + hfs/hfs_hotfiles.h + hfs/hfs_iokit.h + hfs/hfs_journal.h + hfs/hfs_kdebug.h + hfs/hfs_key_roll.h + hfs/hfs_macos_defs.h + hfs/hfs_mount.h + hfs/hfs_quota.h + hfs/hfs_unistr.h + hfs/kext-config.h + hfs/rangelist.h + ''; + meta = { # Seems nobody wants its binary, so we didn't implement building. broken = !headersOnly; |