summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-02-06 20:13:51 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-20 23:17:04 -0400
commitd69cc779b520ea74a5b52fa5691f3f8fd7fe9cf3 (patch)
tree7ec6f7707d70df2aee4260ec7b90e88ba59b84cb /pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix
parent4c3c8f4a7d5d82e3a148819d8c80bdef6bcb0c6f (diff)
downloadnixpkgs-d69cc779b520ea74a5b52fa5691f3f8fd7fe9cf3.tar
nixpkgs-d69cc779b520ea74a5b52fa5691f3f8fd7fe9cf3.tar.gz
nixpkgs-d69cc779b520ea74a5b52fa5691f3f8fd7fe9cf3.tar.bz2
nixpkgs-d69cc779b520ea74a5b52fa5691f3f8fd7fe9cf3.tar.lz
nixpkgs-d69cc779b520ea74a5b52fa5691f3f8fd7fe9cf3.tar.xz
nixpkgs-d69cc779b520ea74a5b52fa5691f3f8fd7fe9cf3.tar.zst
nixpkgs-d69cc779b520ea74a5b52fa5691f3f8fd7fe9cf3.zip
Revert "Revert "darwin 10.12 commits""
This reverts commit 8505e710e707b2e425379dc356721194f742d8d0.
Diffstat (limited to 'pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix')
-rw-r--r--pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix8
1 files changed, 8 insertions, 0 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
new file mode 100644
index 00000000000..ab294b143d3
--- /dev/null
+++ b/pkgs/os-specific/darwin/apple-source-releases/hfs/default.nix
@@ -0,0 +1,8 @@
+{ appleDerivation, lib, headersOnly ? false }:
+
+appleDerivation {
+  installPhase = lib.optionalString headersOnly ''
+    mkdir -p $out/include/hfs
+    cp core/*.h $out/include/hfs
+  '';
+}