about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorTim Steinbach <tim@nequissimus.com>2020-11-04 12:45:20 -0500
committerTim Steinbach <tim@nequissimus.com>2020-11-04 12:57:58 -0500
commit7e062659e97ba0c354a329dbf6ae2f9460cfc69b (patch)
tree24ce2e05e5ab411070a32fb78030d5bedd156290 /nixos/tests
parent0aaf9d61432d6fae51a8164bbb9fe97bd636441f (diff)
ammonite: Add test reference, update script
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/all-tests.nix1
-rw-r--r--nixos/tests/ammonite.nix2
2 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 553f4f8fc4cc1..e277f5922ccf7 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -24,6 +24,7 @@ in
   _3proxy = handleTest ./3proxy.nix {};
   acme = handleTest ./acme.nix {};
   agda = handleTest ./agda.nix {};
+  ammonite = handleTest ./ammonite.nix {};
   atd = handleTest ./atd.nix {};
   avahi = handleTest ./avahi.nix {};
   avahi-with-resolved = handleTest ./avahi.nix { networkd = true; };
diff --git a/nixos/tests/ammonite.nix b/nixos/tests/ammonite.nix
index 1955e42be5f02..e9f06358e13f6 100644
--- a/nixos/tests/ammonite.nix
+++ b/nixos/tests/ammonite.nix
@@ -8,7 +8,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
     amm =
       { pkgs, ... }:
         {
-          environment.systemPackages = [ pkgs.ammonite ];
+          environment.systemPackages = [ (pkgs.ammonite.override { jre = pkgs.jre8; }) ];
         };
     };