2017-07-04 19:36:30 -06:00
|
|
|
import ./make-test.nix ({ pkgs, ...} : {
|
|
|
|
name = "ammonite";
|
|
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
|
|
maintainers = [ nequissimus ];
|
|
|
|
};
|
|
|
|
|
|
|
|
nodes = {
|
|
|
|
amm =
|
2018-07-20 14:56:59 -06:00
|
|
|
{ pkgs, ... }:
|
2017-07-04 19:36:30 -06:00
|
|
|
{
|
|
|
|
environment.systemPackages = [ pkgs.ammonite ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
startAll;
|
|
|
|
|
|
|
|
$amm->succeed("amm -c 'val foo = 21; println(foo * 2)' | grep 42")
|
|
|
|
'';
|
|
|
|
})
|