mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:54:10 +00:00
e211504db6
For example this reduces haskell closure on darwin for some packages for almost 500MB.
18 lines
336 B
Nix
18 lines
336 B
Nix
{ stdenv, appleDerivation }:
|
|
|
|
appleDerivation {
|
|
buildPhase = ":";
|
|
|
|
# install headers only
|
|
installPhase = ''
|
|
mkdir -p $out/lib
|
|
cp -R include $out/include
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = with maintainers; [ copumpkin lnl7 ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|