mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
20 lines
447 B
Nix
20 lines
447 B
Nix
{ 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
|
|
'';
|
|
}
|