mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
CoreSymbolication: init
This commit is contained in:
parent
72f8df9465
commit
d625fece18
2 changed files with 21 additions and 0 deletions
19
pkgs/os-specific/darwin/CoreSymbolication/default.nix
Normal file
19
pkgs/os-specific/darwin/CoreSymbolication/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ fetchFromGitHub, stdenv }:
|
||||
|
||||
# Reverse engineered CoreSymbolication to make dtrace buildable
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "CoreSymbolication";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = name;
|
||||
owner = "matthewbauer";
|
||||
rev = "671fcb66c82eac1827f3f53dc4cc4e9b1b94da0a";
|
||||
sha256 = "0qpw46gwgjxiwqqjxksb8yghp2q8dwad6hzaf4zl82xpvk9n5ahj";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
cp -r CoreSymbolication $out/include
|
||||
'';
|
||||
}
|
|
@ -63,6 +63,8 @@ in
|
|||
|
||||
xcode = callPackage ../os-specific/darwin/xcode { };
|
||||
|
||||
CoreSymbolication = callPackage ../os-specific/darwin/CoreSymbolication { };
|
||||
|
||||
swift-corelibs = callPackages ../os-specific/darwin/swift-corelibs { };
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue