Commit Graph

16 Commits

Author SHA1 Message Date
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
Sigmanificient
543cd40ecc treewide: remove trailing space in description
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 |
xargs -i nvim {}` and sorting the opened files by hand, avoiding
generated packages list
2024-07-26 03:38:50 +02:00
R. Ryantm
a9be13da40 healthchecks: 3.3 -> 3.4 2024-06-24 21:19:56 +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
phaer
4dc7775617 healthchecks: 3.2 -> 3.3 2024-04-05 12:13:17 +00:00
phaer
e92a4bdf78 healthchecks: 3.1 -> 3.2 2024-04-05 12:13:17 +00:00
phaer
0862fe5dcb healthchecks: 2.10 -> 3.1 2024-04-05 12:13:16 +00:00
Sanjin Sehic
7f5e8a0113
nixos/healthchecks: enable _FILE variants for all secrets
This change enables _FILE variants for all secrets in Healthchecks
configuration so they can be read from a file and not stored in
/nix/store.

In particular, it adds support for these secrets:
DB_PASSWORD, DISCORD_CLIENT_SECRET, EMAIL_HOST_PASSWORD,
LINENOTIFY_CLIENT_SECRET, MATRIX_ACCESS_TOKEN, PD_APP_ID,
PUSHBULLET_CLIENT_SECRET, PUSHOVER_API_TOKEN, S3_SECRET_KEY, SECRET_KEY,
SLACK_CLIENT_SECRET, TELEGRAM_TOKEN, TRELLO_APP_KEY, and TWILIO_AUTH.
2023-09-02 09:43:19 +01:00
Sanjin Sehic
4a81613aa6
nixos/healthchecks: add EMAIL_HOST_PASSWORD_FILE option
This allows keeping EMAIL_HOST_PASSWORD out of /nix/store.
2023-09-02 09:43:17 +01:00
Sandro Jäckel
146a53dd88
healthchecks: 2.8.1 -> 2.10
Diff: https://github.com/healthchecks/healthchecks/compare/refs/tags/v2.8.1...v2.10
2023-07-18 00:40:09 +02:00
Sandro Jäckel
cbe3dd7394
healthchecks: 2.6.1 -> 2.8.1
Diff: https://github.com/healthchecks/healthchecks/compare/refs/tags/v2.6.1...v2.8.1
2023-04-12 19:57:38 +02:00
R. Ryantm
bcd1853765 healthchecks: 2.5 -> 2.6.1 2023-01-26 17:34:24 +00:00
Sandro Jäckel
dfac3e4480
healthchecks: 2.4.1 -> 2.5
Diff: https://github.com/healthchecks/healthchecks/compare/v2.4.1...v2.5
2022-12-14 22:42:39 +01:00
Sandro Jäckel
a3c39df9e8
healthchecks: 2.2.1 -> 2.4.1 2022-10-26 20:44:22 +02:00
Martin Weinelt
33ee10c80e
python3Packages.django-compressor: rename from django_compressor 2022-08-06 00:21:16 +02:00
phaer
12d45dc313 healthchecks: init at 2.2.1 2022-06-28 10:28:46 +02:00