forked from mirrors/nixpkgs
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:
parent
5e8a97a831
commit
85b7c134cb
3
pkgs/os-specific/darwin/lipo/builder.sh
Executable file
3
pkgs/os-specific/darwin/lipo/builder.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
source $stdenv/setup
|
||||
mkdir -p "$out/bin"
|
||||
ln -s /usr/bin/lipo "$out/bin/"
|
8
pkgs/os-specific/darwin/lipo/default.nix
Normal file
8
pkgs/os-specific/darwin/lipo/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{stdenv}:
|
||||
|
||||
assert stdenv.isDarwin;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "darwin-lipo-utility";
|
||||
builder = ./builder.sh;
|
||||
}
|
|
@ -5826,6 +5826,10 @@ let
|
|||
inherit stdenv;
|
||||
};
|
||||
|
||||
darwinLipoUtility = import ../os-specific/darwin/lipo {
|
||||
inherit stdenv;
|
||||
};
|
||||
|
||||
devicemapper = lvm2;
|
||||
|
||||
dmidecode = import ../os-specific/linux/dmidecode {
|
||||
|
|
Loading…
Reference in a new issue