Commit Graph

32 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
R. Ryantm
7a0e519ccf matrix-synapse-tools.synadm: 0.46 -> 0.46.1 2024-07-04 07:59:32 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
amesgen
4980d273c5
matrix-synapse-tools.rust-synapse-compress-state: 0.1.3 -> 0.1.4 2024-04-12 22:03:11 +02:00
R. Ryantm
8f604a4e4a matrix-synapse-tools.synadm: 0.45 -> 0.46 2024-04-06 18:51:58 +00: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
R. Ryantm
8fe6141ed9 matrix-synapse-tools.synadm: 0.44 -> 0.45 2023-12-16 16:04:10 +00:00
Nick Cao
7f7ab04139
matrix-synapse.tools.synadm: replace references to matrix-org/synapse with element-hq/synapse 2023-12-13 17:49:21 -05:00
Martin Weinelt
bce303f80a
matrix-synapse.tools.synadm: 0.43.1 -> 0.44
https://github.com/JOJ0/synadm/releases/tag/v0.44
2023-10-23 01:57:26 +02:00
R. Ryantm
1e9b8d4d2e matrix-synapse-tools.synadm: 0.42 -> 0.43.1 2023-09-15 12:28:36 +02:00
R. Ryantm
90a07abbf8 matrix-synapse-tools.synadm: 0.41.3 -> 0.42 2023-08-29 13:15:46 +00:00
Andrei Zmievski
ec45fd0318 synadm: 0.41.2 -> 0.41.3
https://github.com/JOJ0/synadm/releases/tag/v0.41.3
2023-06-14 12:26:44 -07:00
figsoda
22ec7aebbc treewide/servers: use top-level fetchPypi 2023-05-25 12:06:38 -04:00
IndeedNotJames
1d0be9841b
matrix-synapse.tools.synadm: Add update script
The r-ryantm bot tries to update the package, but fails to do so, unless
we provide an update script.

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
2023-05-02 13:16:25 +02:00
Martin Weinelt
2ad790a0c1
matrix-synapse.tools.synadm: 0.40 -> 0.41.2
https://github.com/JOJ0/synadm/releases/tag/v0.41
https://github.com/JOJ0/synadm/releases/tag/v0.41.1
https://github.com/JOJ0/synadm/releases/tag/v0.41.2
2023-04-30 22:58:17 +02:00
Martin Weinelt
18c9089744
matrix-synapse.tools.synadm: 0.38 -> 0.40
https://github.com/JOJ0/synadm/releases/tag/v0.39
https://github.com/JOJ0/synadm/releases/tag/v0.40
2023-03-17 13:03:20 +00:00
R. Ryantm
b2fb7f31e8 matrix-synapse-tools.synadm: 0.37.1 -> 0.38 2022-12-10 01:52:14 +00:00
Martin Weinelt
0d10c31f2d
matrix-synapse.tools.rust-synapse-compress-state: Mark broken on darwin 2022-11-19 16:45:30 +01:00
R. Ryantm
293cbc467d matrix-synapse-tools.synadm: 0.36 -> 0.37.1 2022-11-09 19:47:07 +00:00
R. Ryantm
404cd8a167 matrix-synapse-tools.synadm: 0.35 -> 0.36 2022-09-04 14:33:29 +00:00
Martin Weinelt
76e45461fa
matrix-synapse.tools.synadm: 0.34 -> 0.35
https://github.com/JOJ0/synadm/releases/tag/v0.35
2022-08-19 02:37:10 +02:00
amesgen
c357e624a9
matrix-synapse-tools.rust-synapse-compress-state: 0.1.2 -> 0.1.3 2022-08-01 14:16:22 +02:00
R. Ryantm
c60f46b8f3 matrix-synapse-tools.synadm: 0.33.1 -> 0.34 2022-04-09 22:31:21 +00:00
Martin Weinelt
381d870fa3
matrix-synapse.tools.synadm: 0.32 -> 0.33.1 2022-02-09 13:44:07 +01:00
Martin Weinelt
8e06903998
matrix-synapse.tools.synapse-rust-compress-state: 0.1.0 -> 0.1.2 2021-12-14 20:50:51 +01:00
R. Ryantm
2396f27caa matrix-synapse-tools.synadm: 0.31 -> 0.32 2021-12-06 09:17:11 +00:00
R. RyanTM
453168b9c9 matrix-synapse-tools.synadm: 0.30 -> 0.31 2021-10-06 04:12:02 +00:00
R. RyanTM
c46b72cb8b matrix-synapse-tools.synadm: 0.29 -> 0.30 2021-09-12 06:06:56 +00:00
Martin Weinelt
860668d435 matrix-synapse-tools.synadm: relax click constraints 2021-06-22 13:42:52 +02:00
Martin Weinelt
7efe82966d
matrix-synapse.tools.synadm: init at 0.29 2021-06-04 00:00:11 +02:00
Daniël de Kok
85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00
Malte Brandy
9329daa507
rust-synapse-compress-state: init at 0.1.0
"A tool to compress some state in a Synapse instance's database"
2020-12-08 04:10:09 +01:00