moarvm: fix build failure on x86_64-darwin
This commit is contained in:
parent
10e860ea3b
commit
3a4be8aa4b
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cctools-port
|
||||
, perl
|
||||
, CoreServices
|
||||
, ApplicationServices
|
||||
@ -29,6 +30,10 @@ stdenv.mkDerivation rec {
|
||||
--replace '`sw_vers -productVersion`' '"$MACOSX_DEPLOYMENT_TARGET"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
|
||||
cctools-port
|
||||
];
|
||||
|
||||
buildInputs = [ perl ] ++ lib.optionals stdenv.isDarwin [ CoreServices ApplicationServices ];
|
||||
doCheck = false; # MoarVM does not come with its own test suite
|
||||
|
||||
|
@ -17970,6 +17970,7 @@ with pkgs;
|
||||
|
||||
rakudo = callPackage ../development/interpreters/rakudo { };
|
||||
moarvm = callPackage ../development/interpreters/rakudo/moarvm.nix {
|
||||
inherit (darwin) cctools-port;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices ApplicationServices;
|
||||
};
|
||||
nqp = callPackage ../development/interpreters/rakudo/nqp.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user