2019-05-08 15:07:06 +00:00
|
|
|
{ stdenv, pkgs, status-go }:
|
2019-03-21 16:56:22 +00:00
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
with stdenv;
|
2019-05-07 06:43:53 +00:00
|
|
|
with darwin.apple_sdk.frameworks;
|
|
|
|
|
|
|
|
assert isDarwin;
|
2019-03-21 16:56:22 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
baseImage = callPackage ./base-image { };
|
|
|
|
|
|
|
|
in
|
|
|
|
{
|
2019-05-08 15:07:06 +00:00
|
|
|
buildInputs = [
|
|
|
|
baseImage status-go.packages
|
|
|
|
AppKit Cocoa darwin.cf-private Foundation OpenGL
|
|
|
|
];
|
2019-04-03 22:05:59 +00:00
|
|
|
|
2019-05-08 15:07:06 +00:00
|
|
|
shellHook =
|
|
|
|
baseImage.shellHook +
|
|
|
|
status-go.shellHook + ''
|
|
|
|
export NIX_TARGET_LDFLAGS="-F${CoreFoundation}/Library/Frameworks -framework CoreFoundation $NIX_TARGET_LDFLAGS"
|
|
|
|
'';
|
2019-03-21 16:56:22 +00:00
|
|
|
}
|