From 2a23c7cfd54b81132ca506d5c9a79979c2145d2c Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 21 Nov 2020 04:20:00 +0000 Subject: [PATCH] postgresqlPackages.postgis: add passthru.tests --- pkgs/servers/sql/postgresql/ext/postgis.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/sql/postgresql/ext/postgis.nix b/pkgs/servers/sql/postgresql/ext/postgis.nix index 912d848e1a75..0d6176d85971 100644 --- a/pkgs/servers/sql/postgresql/ext/postgis.nix +++ b/pkgs/servers/sql/postgresql/ext/postgis.nix @@ -11,6 +11,7 @@ , file , protobufc , libiconv +, nixosTests }: stdenv.mkDerivation rec { pname = "postgis"; @@ -65,6 +66,8 @@ stdenv.mkDerivation rec { mv doc/* $doc/share/doc/postgis/ ''; + passthru.tests.postgis = nixosTests.postgis; + meta = with stdenv.lib; { description = "Geographic Objects for PostgreSQL"; homepage = "https://postgis.net/";