Commit Graph

72 Commits

Author SHA1 Message Date
Alexander Sieg
887a74fd57 clickhouse: fix compilation on aarch64-linux 2024-11-06 11:33:04 +01:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Manuel Mendez
17b3df2861 rust: Write to .cargo/config.toml instead of .cargo/config
Seeing the following new warnings pop up on stderr when cargo was bumped
to 1.78:

```
warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
```

which happens to break commitmsgfmt builds in nix (#320294).

closes #320294
2024-09-11 21:03:32 -04:00
Maksym Balatsko
8ce9ff23a4 clickhouse: 24.3.5.46 -> 24.3.7.30 2024-08-15 04:39:24 -07:00
Maksym Balatsko
cb5e3ec69d clickhouse: 24.3.2.23-lts -> 24.3.5.46-lts 2024-07-16 11:31:22 -07:00
Maksym Balatsko
6e53c551cd clickhouse: 23.11.1.2711 -> 24.3.2.23 2024-04-05 11:57:54 -07:00
Yureka
73a4603df8 clickhouse: 23.10.3.5 -> 23.11.1.2711 2023-12-12 07:12:04 +00:00
Florian Klink
f5d4318214 clickhouse: drop comment on rustSupport flag
It's not just blake3 that's provided in there.

Also verified clickhouse still builds even when this is set to false
2023-11-15 15:38:54 +02:00
Randy Eckenrode
6a01116033 clickhose: fix build on aarch64-darwin 2023-11-15 12:50:42 +02:00
edef
add1a9c03d clickhouse: 23.3.13.6 -> 23.10.3.5 2023-11-12 11:35:19 +00:00
Yureka
eef9879d74 clickhouse: 23.3.10.5 -> 23.3.13.6 2023-09-12 19:25:43 +00:00
Yureka
e7514bb7a8 clickhouse: 23.3.8.21 -> 23.3.10.5 2023-08-23 20:07:19 +08:00
Yureka
ff016c87a9 clickhouse: 23.3.5.9 -> 23.3.8.21 2023-08-08 12:51:25 +08:00
Yureka
7e255ce50d clickhouse: own src version of corrosion 2023-08-06 22:13:19 +02:00
Yureka
cb26e4230d clickhouse: 23.3.3.52 -> 23.3.5.9 2023-06-26 12:39:28 +08:00
Domen Kožar
dea415130a clickhouse: compress tarball 2023-06-21 13:01:20 +01:00
Domen Kožar
d13769fd8e clickhouse: build on darwin 2023-06-20 17:01:27 +01:00
Yureka
b98c731d4c clickhouse: 23.3.2.37 -> 23.3.3.52 2023-06-13 07:49:52 -04:00
Yureka
c282d8e5a3
clickhouse: compress src to not exceed hydra limit (#236060) 2023-06-05 23:39:51 +02:00
Yureka
b0cc16f9e2 clickhouse: build rust parts 2023-05-19 06:29:08 -04:00
Christoph Herzog
f744a2df21 clickhouse: 22.8.5.29 -> 23.3.1.2823
Upgrade clickhouse

Closes #227435
2023-05-18 17:36:00 -04:00
Sylvain Fankhauser
33d2eac2e9 clickhouse: set default logging level to warning 2023-05-01 11:10:24 -04:00
Yureka
376fc84bbc
clickhouse: 22.8.11.15 -> 22.8.16.32 (#226603) 2023-04-17 13:24:23 +02:00
Phillip Cloud
29b07eb02e
clickhouse: 22.8.5.29 -> 22.8.11.15 2022-12-22 08:28:52 -05:00
Phillip Cloud
727126a6f0
clickhouse: 22.3.2.2 -> 22.8.5.29 2022-09-27 08:40:15 -04:00
Konstantin Bogdanov
a8aaeb6e53
clickhouse 21.8.12.29 -> 22.3.2.2 2022-03-28 17:02:12 +02:00
Luke Granger-Brown
5495c8e70b clickhouse: 21.8.8.29 -> 21.8.12.29 2021-12-22 22:08:41 +00:00
Niklas Hambüchen
0939143e24
Merge pull request #137176 from GoldsteinE/clickhouse-package
nixos/clickhouse: add package option
2021-11-21 21:43:58 +01:00
Niklas Hambüchen
faadbddcd7 clickhouse: Add passthru.tests 2021-11-21 20:38:57 +01:00
Kaz Wesley
4172adde12
clickhouse: fix non-x86 build (#141009)
* clickhouse: fix non-x86 build

libcpuid is only needed, and only available, on x86.
2021-10-10 10:55:21 -07:00
Maximilian Bosch
62dc8ef779
clickhouse: 21.3.11.5 -> 21.8.8.29
The new release contains a fix for MariaDB[1] that unbreaks the package.

[1] a7e761d04f
2021-10-08 15:46:13 +02:00
Jonathan Ringer
14f3686af1
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
  pkgs/applications/terminal-emulators/alacritty/default.nix
  pkgs/servers/clickhouse/default.nix
2021-05-20 09:12:42 -07:00
Maximilian Bosch
3f3cec6d9e clickhouse: 20.11.4.13-stable -> 21.3.11.5-lts
Failing Hydra build: https://hydra.nixos.org/build/143269865
ZHF #122042
2021-05-19 14:08:46 -07:00
John Ericson
18c38f8aee treewide: All the linker to be chosen independently
This will begin the process of breaking up the `useLLVM` monolith. That
is good in general, but I hope will be good for NetBSD and Darwin in
particular.

Co-authored-by: sterni <sternenseemann@systemli.org>
2021-05-14 21:29:51 +00:00
Dmitry Ivankov
4fd780f940 clickhouse: mark as broken on 32-bit architectures
Hydra failed on configure phase for Linux i686
https://hydra.nixos.org/build/142591591/nixlog/1
configure can be fixed, but the package isn't supposed to work on 32-bits anyway
https://github.com/ClickHouse/ClickHouse/pull/23959

ZHF: #122042
2021-05-08 14:53:26 +02:00
Luke Granger-Brown
b1173688a8 clickhouse: require big-parallel
It takes 7h+ on a "normal" 2-core-allocated Packet builder, and 20m on a
big-parallel machine.
2021-04-26 00:50:07 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Raghav Sood
a776aea536
clickhouse: 20.5.2.7 -> 20.11.4.13 2020-12-06 03:04:51 +00:00
Luke Granger-Brown
6e39a67aec clickhouse: use system LLVM
Building LLVM pieces is a huge contributor to build times, and probably
bloats binary size as well. Fortunately, there's a knob for this
specific thing (-DUNBUNDLED=ON seems broken and requires some libraries
which aren't packaged for Nix at the moment).

Hopefully this will make clickhouse able to build on OfBorg.
2020-11-28 20:40:22 +00:00
Raghav Sood
2761377682
clickhouse: update website 2020-07-08 08:19:43 +00:00
Raghav Sood
091189c6c2
clickhouse:20.5.2.7 2020-07-08 08:18:19 +00:00
R. RyanTM
e45f5ee1df clickhouse: 19.17.8.54 -> 19.17.9.60 2020-03-26 18:18:13 +00:00
Orivej Desh
a8e06a8e89 clickhouse: link with lld
lld buildInput is still needed for the library.

Related: #24744
2020-03-03 09:22:14 +00:00
Orivej Desh
24c765c744 clickhouse: fix rpath
ClickHouse sets LINKER_NAME to lld which is not yet wrapped with ld-wrapper.sh
and the results lack rpath needed to use the programs and libraries.
2020-03-03 08:38:19 +00:00
R. RyanTM
e7f3e3e2d8 clickhouse: 19.13.6.51 -> 19.17.8.54 2020-02-16 09:13:34 +01:00
R. RyanTM
3637b5829f clickhouse: 19.13.5.44 -> 19.13.6.51
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
2019-10-27 23:20:55 +01:00
Orivej Desh
29b5aaeb5d clickhouse: build with rapidjson
This enables ClickHouse JSON functions.
2019-10-17 00:38:49 +00:00
Orivej Desh
67024620aa clickhouse: 19.13.1.11 -> 19.13.5.44
Closes #66797
2019-09-29 02:57:04 +00:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00