forked from mirrors/nixpkgs
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;
|
|
};
|
|
}
|