Commit Graph

29 Commits

Author SHA1 Message Date
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
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
github-actions[bot]
ac779b472e
Merge master into staging-next 2024-03-05 18:01:25 +00:00
R. Ryantm
2dcf474970 proxysql: 2.5.5 -> 2.6.0 2024-03-05 01:34:56 +00:00
Nicolas Benes
732f1c1f52 proxysql: unpin libmicrohttpd 2024-01-05 07:56:28 +01:00
ajs124
7b6580dba4 maintainers/teams: init and add helsinki-systems 2023-11-30 19:11:08 +01:00
ajs124
85fa2ee245 proxysql: use vendored re2
follow-up to 33614fda22
2023-11-14 12:05:29 +01:00
ajs124
8950d0190f proxysql: 2.5.4 -> 2.5.5
https://github.com/sysown/proxysql/releases/tag/v2.5.5
2023-08-18 14:40:08 +02:00
Pol Dellaiera
403f35e92f
proxysql: use finalAttrs pattern 2023-07-31 13:53:55 +02:00
R. Ryantm
3adecdfcbc proxysql: 2.5.3 -> 2.5.4 2023-07-30 06:53:30 +00:00
Weijia Wang
5a8c555ccc
Merge pull request #239175 from helsinki-systems/upd/proxysql
proxysql: 2.5.2 -> 2.5.3
2023-06-26 17:51:26 +02:00
Weijia Wang
cd22d95a54 proxysql: set platforms 2023-06-26 17:05:47 +03:00
ajs124
6701ee5063 proxysql: 2.5.2 -> 2.5.3
https://github.com/sysown/proxysql/releases/tag/v2.5.3
2023-06-22 13:05:17 +02:00
ajs124
677ef435c3 proxysql: 2.5.1 -> 2.5.2 2023-05-12 13:57:48 +02:00
ajs124
5b5e4182cb proxysql: 2.5.0 -> 2.5.1
https://github.com/sysown/proxysql/releases/tag/v2.5.1
2023-03-15 17:39:35 +01:00
ajs124
2e6581f905 proxysql: 2.4.6 -> 2.5.0 2023-02-06 18:32:07 +01:00
ajs124
f87cac221f proxysql: fix build 2023-02-06 18:25:48 +01:00
ajs124
4611ffe60f proxysql: 2.4.5 -> 2.4.6 2023-02-06 18:25:48 +01:00
ajs124
8dbaf80fdd proxysql: fix build after 201859
- by not pulling in python2 directly
- by applying patches to sources we "unvendor", so e.g. libinjection builds
2023-01-09 14:50:13 +01:00
R. Ryantm
76b44d81b2 proxysql: 2.4.4 -> 2.4.5 2022-12-24 12:16:13 +00:00
Yorick van Pelt
a9cd13546b
proxysql: switch libmicrohttpd from 0.9.70 to 0.9.69
0.9.70 is vulnerable to CVE-2021-3466, but 0.9.69 is fine.
proxysql is not yet compatible with 0.9.71
2022-10-10 08:13:24 +02:00
ajs124
f6784462bf proxysql: 2.4.3 -> 2.4.4
https://github.com/sysown/proxysql/releases/tag/v2.4.4
2022-09-16 00:20:07 +02:00
ajs124
0df0cbff94 proxysql: don't reference openssl_3 explicitly
it's the default now
2022-08-17 20:16:46 +02:00
ajs124
99bc6920c2 proxysql: 2.3.2 -> 2.4.3
https://github.com/sysown/proxysql/releases/tag/v2.4.0
https://github.com/sysown/proxysql/releases/tag/v2.4.1
https://github.com/sysown/proxysql/releases/tag/v2.4.2
https://github.com/sysown/proxysql/releases/tag/v2.4.3
2022-08-15 19:33:40 +02:00
ajs124
8ed5858763
proxysql: fix build by using vendored jemalloc 5.2.0 2022-06-11 23:03:38 +02:00
Cole Helbling
c281c1e4e9 proxysql: use vendored prometheus-cpp
They specifically want v0.9.0 and already have it vendored. However,
we continue to use the civetweb from Nixpkgs. It may be necessary at
some point in the future to just allow them to use their vendored
sources for this altogether, but it works fine for now.
2022-03-14 12:17:26 -07:00
ajs124
eb31e13b54 proxysql: fix build 2022-02-09 23:39:27 +01:00
Robert Schütz
d5cceedbd1 python,pythonPackages: make aliases
Since aliases are disallowed in nixpkgs, this makes usage of Python 2
which is EOL more explicit.
2022-01-16 18:39:59 +00:00
ajs124
028d78ea58 proxysql: init at 2.3.2 2021-11-08 16:42:16 +01:00