ammonite: fix build on x86_64-darwin

This commit is contained in:
flurie 2021-11-10 20:55:38 -05:00
parent c6270366d7
commit 34c058ef85
No known key found for this signature in database
GPG Key ID: D963E8522F408029

View File

@ -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=";