ammonite: fix build on x86_64-darwin

main
flurie 3 years ago
parent c6270366d7
commit 34c058ef85
No known key found for this signature in database
GPG Key ID: D963E8522F408029
  1. 20
      pkgs/development/tools/ammonite/default.nix

@ -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…
Cancel
Save