Merge pull request #116936 from hercules-ci/logstash-jdk

This commit is contained in:
Sandro
2021-03-30 17:22:21 +02:00
committed by GitHub
5 changed files with 36 additions and 8 deletions
+11 -2
View File
@@ -3,12 +3,13 @@
, lib, stdenv
, fetchurl
, makeWrapper
, nixosTests
, jre
}:
with lib;
stdenv.mkDerivation rec {
let this = stdenv.mkDerivation rec {
version = elk6Version;
name = "logstash-${optionalString (!enableUnfree) "oss-"}${version}";
@@ -52,4 +53,12 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
maintainers = with maintainers; [ wjlroe offline basvandijk ];
};
}
passthru.tests =
optionalAttrs (!enableUnfree) (
assert this.drvPath == nixosTests.elk.ELK-6.elkPackages.logstash.drvPath;
{
elk = nixosTests.elk.ELK-6;
}
);
};
in this
+11 -2
View File
@@ -3,12 +3,13 @@
, lib, stdenv
, fetchurl
, makeWrapper
, nixosTests
, jre
}:
with lib;
stdenv.mkDerivation rec {
let this = stdenv.mkDerivation rec {
version = elk7Version;
name = "logstash-${optionalString (!enableUnfree) "oss-"}${version}";
@@ -52,4 +53,12 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
maintainers = with maintainers; [ wjlroe offline basvandijk ];
};
}
passthru.tests =
optionalAttrs (!enableUnfree) (
assert this.drvPath == nixosTests.elk.ELK-7.elkPackages.logstash.drvPath;
{
elk = nixosTests.elk.ELK-7;
}
);
};
in this