pkgs/os-specific/darwin/lipo: add support for running the native Darwin lipo utility

svn path=/nixpkgs/trunk/; revision=21426
This commit is contained in:
Peter Simons 2010-04-29 14:56:44 +00:00
parent 5e8a97a831
commit 85b7c134cb
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,3 @@
source $stdenv/setup
mkdir -p "$out/bin"
ln -s /usr/bin/lipo "$out/bin/"

View File

@ -0,0 +1,8 @@
{stdenv}:
assert stdenv.isDarwin;
stdenv.mkDerivation {
name = "darwin-lipo-utility";
builder = ./builder.sh;
}

View File

@ -5826,6 +5826,10 @@ let
inherit stdenv;
};
darwinLipoUtility = import ../os-specific/darwin/lipo {
inherit stdenv;
};
devicemapper = lvm2;
dmidecode = import ../os-specific/linux/dmidecode {