Commit Graph

17 Commits

Author SHA1 Message Date
Weijia Wang
2e290f5676 influxdb2: migrate to bindgenHook 2023-05-27 20:05:57 +03:00
Alyssa Ross
12d2821bf5
treewide: remove -ldl linker flags
With all libcs I'm aware of, libdl is now either empty (Glibc, musl,
uclibc, illumos), a symlink to libc or equivalent (Apple), or does not
exist (FreeBSD, NetBSD).  So explicitly linking libdl now does nothing
for the former platforms, and breaks the build for the latter
platforms.

With this patch I've removed -ldl from all overridden linker flags for
all free packages in Nixpkgs.  Everything still seems to build.
2023-01-23 15:34:53 +00:00
happysalada
92ad187a93 influxdb2: 2.4.0 -> 2.5.1 2022-11-13 20:58:42 -05:00
Christian Kögler
9b206e6e32 influxdb2-server: fix cross compilation 2022-10-12 21:08:18 +02:00
Yureka
58cb56ee9c
influxdb2: fix build with rust 1.54 (#195534) 2022-10-12 20:10:33 +02:00
David Anderson
0b0b187d12 influxdb2-server: 2.1.1 -> 2.4.0
influxdb2-cli: 2.3.0 -> 2.4.0

Signed-off-by: David Anderson <dave@natulte.net>
2022-09-18 10:15:09 -07:00
David Anderson
ec3133d46e influxdb2: split CLI and server, add compat buildEnv. 2021-12-16 11:58:30 -08:00
David Anderson
8888330a9d influxdb2: 2.0.8 -> 2.1.1
* libflux: 0.124.0 -> 0.139.0; as specified in influxdb 2.1's release notes

* UI: 2.0.8 -> 2.1.2; matching what influxdb 2.1.1 requires

* Add checks in influxdb2's build to verify that libflux and the UI are at
  the version specified by upstream.

* The CLI got split into a separate repository for reasons to do with influx's
  cloud service, and its version has also been decoupled from the main influxdb
  repository. Link it back into the influxdb2 derivation, for compatibility
  with the previous derivation versions.
2021-12-16 11:25:56 -08:00
Claudio Bley
b23d8aa39c influxdb2: 2.0.6 -> 2.0.8
* libflux: 0.115.0 -> 0.124.0; which fixes build errors for libflux on
  hydra (unused vars in Rust)

* the UI (chronograf) is now in embeded as a static asset from its GitHub
  repository
2021-09-20 13:22:08 +02:00
zowoq
0e50afedc1 influxdb2: buildFlagsArray -> ldflags, tags 2021-08-07 12:28:40 +10:00
Stéphan Kochen
f37710e94e influxdb2: fix darwin build 2021-05-16 23:53:00 -07:00
Claudio Bley
329ec3d17c influxdb2: 2.0.2 -> 2.0.6
* update libflux to version 0.115.0
* chronograf-ui has been renamed to influxdb-ui
2021-05-16 23:53:00 -07:00
Andrew Childs
7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
06kellyjac
a66639068b influxdb2: use now maintained go-bindata 2021-02-06 16:14:45 +00:00
Dave Anderson
4de5d2b081
influxdb2: init at v2.0.2 (#104717)
Signed-off-by: David Anderson <dave@natulte.net>
2020-11-24 16:06:39 +01:00
Graham Christensen
fbc4af5725 Revert "influxdb2: init at v2.0.2 (#104484)"
This reverts commit ecbe92e576.
2020-11-23 14:55:26 -05:00
Dave Anderson
ecbe92e576
influxdb2: init at v2.0.2 (#104484)
Signed-off-by: David Anderson <dave@natulte.net>
2020-11-23 20:40:42 +01:00