sbt-extras: Add test

This commit is contained in:
Tim Steinbach
2020-11-11 09:32:06 -05:00
parent 6134eafe08
commit b9c505b7bf
3 changed files with 21 additions and 1 deletions
@@ -1,5 +1,6 @@
{ stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk, writeScript
, common-updater-scripts, cacert, git, nixfmt, nix, jq, coreutils, gnused }:
, common-updater-scripts, cacert, git, nixfmt, nix, jq, coreutils, gnused
, nixosTests }:
stdenv.mkDerivation rec {
pname = "sbt-extras";
@@ -30,6 +31,8 @@ stdenv.mkDerivation rec {
'';
passthru = {
tests = { inherit (nixosTests) sbt-extras; };
updateScript = writeScript "update.sh" ''
#!${stdenv.shell}
set -xo errexit