mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
18 lines
367 B
Nix
18 lines
367 B
Nix
{ stdenv, appleDerivation }:
|
|
|
|
# all symbols are located in libSystem
|
|
appleDerivation {
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/include
|
|
cp *.h $out/include
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|