ammonite: fix build on x86_64-darwin
This commit is contained in:
parent
c6270366d7
commit
34c058ef85
1 changed files with 16 additions and 4 deletions
|
@ -1,5 +1,16 @@
|
|||
{ lib, stdenv, fetchurl, jre, writeScript, common-updater-scripts
|
||||
, git, nixfmt, nix, coreutils, gnused, disableRemoteLogging ? true }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, jre
|
||||
, writeScript
|
||||
, common-updater-scripts
|
||||
, git
|
||||
, nixfmt
|
||||
, nix
|
||||
, coreutils
|
||||
, gnused
|
||||
, disableRemoteLogging ? true
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
|
@ -61,7 +72,7 @@ let
|
|||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
||||
$out/bin/amm -c 'val foo = 21; println(foo * 2)' | grep 42
|
||||
$out/bin/amm -h "$PWD" -c 'val foo = 21; println(foo * 2)' | grep 42
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
@ -80,7 +91,8 @@ let
|
|||
maintainers = [ maintainers.nequissimus ];
|
||||
};
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
ammonite_2_12 = common {
|
||||
scalaVersion = "2.12";
|
||||
sha256 = "K8JII6SAmnBjMWQ9a3NqSLLuP1OLcbwobj3G+OCiLdA=";
|
||||
|
|
Loading…
Reference in a new issue