mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
e211504db6
For example this reduces haskell closure on darwin for some packages for almost 500MB.
17 lines
336 B
Nix
17 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;
|
|
};
|
|
}
|