mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
moarvm: fix build on x86_64-darwin
This commit is contained in:
parent
781e593a10
commit
bdb67f782d
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cctools-port
|
||||
, perl
|
||||
, CoreServices
|
||||
, ApplicationServices
|
||||
@ -27,13 +26,9 @@ stdenv.mkDerivation rec {
|
||||
--replace '/usr/bin/arch' "$(type -P true)" \
|
||||
--replace '/usr/' '/nope/'
|
||||
substituteInPlace 3rdparty/dyncall/configure \
|
||||
--replace '`sw_vers -productVersion`' '"$MACOSX_DEPLOYMENT_TARGET"'
|
||||
--replace '`sw_vers -productVersion`' '"11.0"'
|
||||
'';
|
||||
|
||||
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
|
||||
|
||||
|
@ -17955,9 +17955,8 @@ with pkgs;
|
||||
racket-minimal = callPackage ../development/interpreters/racket/minimal.nix { };
|
||||
|
||||
rakudo = callPackage ../development/interpreters/rakudo { };
|
||||
moarvm = callPackage ../development/interpreters/rakudo/moarvm.nix {
|
||||
inherit (darwin) cctools-port;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices ApplicationServices;
|
||||
moarvm = darwin.apple_sdk_11_0.callPackage ../development/interpreters/rakudo/moarvm.nix {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) CoreServices ApplicationServices;
|
||||
};
|
||||
nqp = callPackage ../development/interpreters/rakudo/nqp.nix { };
|
||||
zef = callPackage ../development/interpreters/rakudo/zef.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user