Skip to content

Commit 993b24e

Browse files
committed
postgresqlPackages.timescaledb: nixfmt
1 parent 86706a1 commit 993b24e

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

pkgs/servers/sql/postgresql/ext/timescaledb.nix

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
1-
{ lib, stdenv, fetchFromGitHub, cmake, postgresql, openssl, libkrb5, nixosTests, enableUnfree ? true, buildPostgresqlExtension }:
1+
{
2+
buildPostgresqlExtension,
3+
cmake,
4+
enableUnfree ? true,
5+
fetchFromGitHub,
6+
lib,
7+
libkrb5,
8+
nixosTests,
9+
openssl,
10+
postgresql,
11+
stdenv,
12+
}:
213

314
buildPostgresqlExtension rec {
415
pname = "timescaledb${lib.optionalString (!enableUnfree) "-apache"}";
516
version = "2.17.2";
617

718
nativeBuildInputs = [ cmake ];
8-
buildInputs = [ openssl libkrb5 ];
19+
buildInputs = [
20+
openssl
21+
libkrb5
22+
];
923

1024
src = fetchFromGitHub {
1125
owner = "timescale";
@@ -14,7 +28,12 @@ buildPostgresqlExtension rec {
1428
hash = "sha256-gPsAebMUBuAwP6Hoi9/vrc2IFsmTbL0wQH1g6/2k2d4=";
1529
};
1630

17-
cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ]
31+
cmakeFlags =
32+
[
33+
"-DSEND_TELEMETRY_DEFAULT=OFF"
34+
"-DREGRESS_CHECKS=OFF"
35+
"-DTAP_CHECKS=OFF"
36+
]
1837
++ lib.optionals (!enableUnfree) [ "-DAPACHE_ONLY=ON" ]
1938
++ lib.optionals stdenv.hostPlatform.isDarwin [ "-DLINTER=OFF" ];
2039

0 commit comments

Comments
 (0)