Commit Graph

1049 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
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
github-actions[bot]
f3e8528ff7
Merge master into staging-next 2024-09-09 14:31:17 +00:00
R. Ryantm
4fc58eac42 mailpit: 1.20.2 -> 1.20.4 2024-09-09 09:58:28 +00:00
Wolfgang Walther
050689db30
treewide: fix pg_config / postgresql headers moved to dev output
This was supposed to happen in #294504, but the commit was accidentally
left out when splitting off some libpq-related changes. Originated in
#179962, by Sandro.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2024-08-24 15:44:10 +02:00
Nick Cao
cdb656193c
Merge pull request #336293 from r-ryantm/auto-update/mailpit
mailpit: 1.20.1 -> 1.20.2
2024-08-21 17:35:33 -04:00
R. Ryantm
f2e3fde9ca mailpit: 1.20.1 -> 1.20.2 2024-08-21 09:00:44 +00:00
Philip Taron
82929eb694
public-inbox: remove with statements 2024-08-18 06:32:22 -07:00
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Thomas Gerbet
cbf3961ef8 dovecot: 2.3.21 -> 2.3.21.1
Fixes CVE-2024-23184 and CVE-2024-23185.

Changes:
https://dovecot.org/mailman3/hyperkitty/list/dovecot-news@dovecot.org/thread/2CSVL56LFPAXVLWMGXEIWZL736PSYHP5/
2024-08-16 08:25:17 +02:00
Nick Cao
fdabc67772
Merge pull request #334352 from r-ryantm/auto-update/mailpit
mailpit: 1.19.3 -> 1.20.1
2024-08-14 15:43:04 -04:00
Maximilian Bosch
a2437d8075
nixos/mailpit: init
Simple module to configure a systemd service for mailpit.
2024-08-14 11:33:52 +02:00
R. Ryantm
3aa6aa2f7a mailpit: 1.19.3 -> 1.20.1 2024-08-13 10:31:48 +00:00
Fabian Affolter
dd1bf6abbb
Merge pull request #332934 from fabaff/dvc-bump
python312Packages.flufl-lock: 7.1.1 -> 8.1.0 , dvc: 3.51.2 -> 3.53.1
2024-08-08 22:08:29 +02:00
Alyssa Ross
f34ee18635 mailmanPackages.postorius: use optional-dependencies
We have a mechanism for this — we don't need an overlay hack.

Fixes: 04952ac5c3 ("mailmanPackages.python3: fix markdown support")
2024-08-07 13:27:50 +02:00
Fabian Affolter
6a7037fc9f mailman: refactor 2024-08-07 11:55:17 +02:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Rafael Kraut
28e14b32a8
mailpit: 1.15.1 -> 1.19.3 2024-07-29 18:58:01 +02:00
Rafael Kraut
063251a83f
mailpit: fix passthru.updateScript 2024-07-29 18:29:25 +02:00
Rafael Kraut
ee537a1d18
mailpit: implement passthru.updateScript (#324302) 2024-07-26 21:27:48 +02:00
R. Ryantm
af558f9bc9 rspamd: 3.9.0 -> 3.9.1 2024-07-24 01:57:05 +00:00
Robert Scott
b8ef3c5945
Merge pull request #326418 from r-ryantm/auto-update/exim
exim: 4.97.1 -> 4.98
2024-07-21 16:35:52 +01:00
Franz Pletz
1bf92d3987
Merge pull request #326829 from fpletz/pkgs/rspamd-3.9.0 2024-07-15 15:45:45 +02:00
aleksana
07c1bc2034 treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
Franz Pletz
eda516d4ed
rspamd: 3.8.4 -> 3.9.0 2024-07-13 15:47:42 +02:00
Franz Pletz
942ae171ab
rspamd: reformat 2024-07-13 15:47:42 +02:00
R. Ryantm
adcc0e3c8f exim: 4.97.1 -> 4.98 2024-07-12 01:13:06 +00:00
R. Ryantm
07dbdcf3fe dovecot_fts_xapian: 1.7.13 -> 1.7.14 2024-07-07 12:35:59 +00:00
Franz Pletz
04952ac5c3
mailmanPackages.python3: fix markdown support
Fixes the issue reported at
https://gitlab.com/mailman/mailman/-/issues/1137. The readme-renderer
package needs cmarkgfm for markdown support. Mailman's postorious needs
this to render the info field of mailing lists.
2024-06-20 02:10:09 +02: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
Paul Meyer
b421d4fd5a mailhog: migrate to buildGoModule
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-06-08 13:36:11 +02:00
Guillaume Girol
2779acfdd6
Merge pull request #315895 from r-ryantm/auto-update/dovecot_fts_xapian
dovecot_fts_xapian: 1.7.12 -> 1.7.13
2024-06-01 20:44:48 +02:00
R. Ryantm
8bd0df64ad smtprelay: 1.11.0 -> 1.11.1 2024-05-31 03:33:52 +00:00
R. Ryantm
51273c4fd1 dovecot_fts_xapian: 1.7.12 -> 1.7.13 2024-05-30 13:35:46 +00:00
Nick Cao
0e62a8cf3e
Merge pull request #314626 from r-ryantm/auto-update/smtprelay
smtprelay: 1.10.0 -> 1.11.0
2024-05-26 09:59:32 -04:00
R. Ryantm
d493b9cd7b smtprelay: 1.10.0 -> 1.11.0 2024-05-25 15:03:40 +00:00
Jussi Kuokkanen
8064d28a4f pkgs/servers: remove licenses.gpl2 2024-05-23 11:49:42 +03:00
Sandro Jäckel
6ed48bd4fd
rspamd: use system libraries 2024-05-22 22:25:03 +02:00
Alyssa Ross
a8dbe01264 mailman-web: 0.0.8 -> 0.0.9 2024-05-22 18:24:51 +02:00
Matthias Beyer
a908790196
Merge pull request #308429 from r-ryantm/auto-update/opensmtpd
opensmtpd: 7.4.0p0 -> 7.5.0p0
2024-05-22 12:20:24 +02:00
R. Ryantm
ff2c70563d dovecot_fts_xapian: 1.7.11 -> 1.7.12 2024-05-20 12:34:55 +00:00
Jonas Heinrich
02c18cc8f6 stalwart-mail: 0.6.0 -> 0.8.0 2024-05-16 13:44:49 +02:00
MinerSebas
e0dcf2a849 stalwart: Fix nixosTest in passthru 2024-05-15 17:03:14 +02:00
euxane
e995bb433e stalwart-mail: add nixos vm test passthru 2024-05-15 01:16:14 +02:00
R. Ryantm
9705755154 opensmtpd: 7.4.0p0 -> 7.5.0p0 2024-05-02 04:20:33 +00:00
R. Ryantm
9bc3e82154 dovecot_fts_xapian: 1.7.10 -> 1.7.11 2024-04-27 12:32:59 +00:00
Yt
f2157c2a34
Merge pull request #305974 from onny/rocksdb-update
rocksdb: 8.3.2 -> 9.1.0, rocksdb_8_3: init at 8.3.2
2024-04-25 01:38:37 +00:00
Gutyina Gergő
07f3a13157 spamassassin: 4.0.0 -> 4.0.1 2024-04-22 21:21:25 +02:00
Jonas Heinrich
f7709cf1b3 treewide: switch from rocksdb -> rocksdb_8_3 2024-04-22 13:02:14 +02:00
Weijia Wang
6507feebbd
Merge pull request #301724 from r-ryantm/auto-update/mailpit
mailpit: 1.15.0 -> 1.15.1
2024-04-07 21:13:01 +02:00