CoreSymbolication: init

This commit is contained in:
Matthew Bauer 2018-04-08 00:40:24 -05:00
parent 72f8df9465
commit d625fece18
2 changed files with 21 additions and 0 deletions

View 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
'';
}

View file

@ -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 { };
})