Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brainflow: init at 5.12.1 #303718

Closed
wants to merge 158 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
be07ac4
python311Packages.bundlewrap: 4.18.0 -> 4.19.0
r-ryantm Jun 26, 2024
b1dbd13
nixos/kmscon: fix eval
SuperSandro2000 Jul 2, 2024
5738749
maintainers/team-list: add piotrkwiecinski to php team
piotrkwiecinski Jul 2, 2024
a317b86
marwaita-icons: init at 5.0
romildo Jun 26, 2024
6b1b9f7
yazi: add eljamm as maintainer
eljamm Jun 19, 2024
d93a38c
yazi: clean up wrapper, add options and format
eljamm Jun 20, 2024
4e8a3e2
cpp-utilities: 5.24.9 -> 5.25.0
r-ryantm Jul 3, 2024
8180430
terragrunt: 0.59.3 -> 0.59.6
r-ryantm Jul 3, 2024
7be3748
android-studio-for-platform: remove gnome_vfs & GConf
jtojnar Jul 2, 2024
b3e8375
maintainers: add dseelp
DSeeLP May 27, 2024
6d17d7f
finamp: init at 0.9.8-beta
DSeeLP May 27, 2024
a3512b5
ollama: add necessary `/lib` suffix to fix rocm
abysssol Jul 3, 2024
5e9e4f8
scion: use mattn/go-sqlite3 instead of modernc.org/sqlite
MatthewCroughan Jul 2, 2024
a0264fd
nixos/scion: improve robustness testing
MatthewCroughan Jul 2, 2024
8806ff2
global: 6.6.12 -> 6.6.13
r-ryantm Jul 2, 2024
36cbb57
grype: 0.79.1 -> 0.79.2
r-ryantm Jul 3, 2024
30e63ec
pomerium: 0.26.0 -> 0.26.1
r-ryantm Jul 2, 2024
a3034f9
manifest-tool: 2.1.6 -> 2.1.7
r-ryantm Jul 3, 2024
8c7ba12
docker_27: 27.0.2 -> 27.0.3
r-ryantm Jul 3, 2024
52cb1fb
nixfmt: unstable-2024-05-28 -> unstable-2024-07-03
infinisil Jul 3, 2024
635bd23
flyctl: 0.2.75 -> 0.2.79
r-ryantm Jul 3, 2024
65a0f68
containerd: 1.7.18 -> 1.7.19
r-ryantm Jul 3, 2024
4f1c746
traefik: 3.0.3 -> 3.0.4
r-ryantm Jul 2, 2024
1e624e3
cadical: 1.9.5 -> 2.0.0
r-ryantm Jun 19, 2024
b9ecbf1
wthrr: 1.1.1 -> 1.2.0
r-ryantm Jun 14, 2024
7ab30df
wthrr: add missing darwin framework
wegank Jul 2, 2024
25d6635
clipse: 0.0.71 -> 1.0.0
r-ryantm Jul 3, 2024
403bb95
trimal: 1.4.1 -> 1.5.0
r-ryantm Jul 2, 2024
857912d
wayback: 0.19.1 -> 0.20.1
r-ryantm Jul 2, 2024
53579f4
skeema: 1.11.2 -> 1.12.0
r-ryantm Jul 2, 2024
6e3693a
kubectl-gadget: 0.29.0 -> 0.30.0
r-ryantm Jul 1, 2024
16d31f9
k3s_1_28: 1.28.10+k3s1 -> 1.28.11+k3s1
r-ryantm Jul 2, 2024
ffe7289
panamax: 1.0.12 -> 1.0.14
r-ryantm Jun 6, 2024
6b5caa4
panamax: add missing darwin frameworks
wegank Jun 27, 2024
242be71
tests/acme: check consistent account hash for legacy settings
osnyx Jun 6, 2024
b51c491
keybase: 6.2.8 -> 6.3.1
r-ryantm Jun 6, 2024
e2a7065
keybase: add missing darwin framework
wegank Jul 2, 2024
6c9ccab
buf: 1.32.2 -> 1.34.0
r-ryantm Jun 22, 2024
992ad80
docker-credential-helpers: 0.8.1 -> 0.8.2
r-ryantm May 24, 2024
2f10224
python311Packages.schedule: 1.2.1 -> 1.2.2
r-ryantm Jun 23, 2024
f576286
papermc: 1.21-37 -> 1.21-40
r-ryantm Jul 2, 2024
1f1c6a2
firebase-tools: 13.11.3 -> 13.12.0
r-ryantm Jun 27, 2024
e792c8b
templ: 0.2.707 -> 0.2.731
r-ryantm Jun 27, 2024
c380a72
mongoc: 1.27.3 -> 1.27.4
r-ryantm Jul 3, 2024
6f1fba5
sommelier: 125.0 -> 126.0
r-ryantm Jun 27, 2024
95835d6
readarr: 0.3.28.2554 -> 0.3.29.2565
r-ryantm Jun 27, 2024
4fe60b9
pyzy: init at 1.1-unstable-2023-02-28
azuwis Jun 11, 2024
f5086b5
ibus-engines.pinyin: init at 1.5.1
azuwis Jun 11, 2024
a1826b4
python312Packages.tree-sitter-html: remove unused Rust dependencies
doronbehar Jul 2, 2024
05c5b7b
python312Packages.tree-sitter-json: remove unused Rust dependencies
doronbehar Jul 2, 2024
940df1a
python312Packages.tree-sitter-rust: remove unused Rust dependencies
doronbehar Jul 2, 2024
a27d005
python312Packages.tree-sitter-python: remove unused Rust dependencies
doronbehar Jul 2, 2024
a4424b0
python312Packages.tree-sitter-javascript: remove unused Rust dependen…
doronbehar Jul 2, 2024
663cf02
yaml-language-server: drop dev dependencies to reduce closure size
SuperSandro2000 Jul 2, 2024
d27c426
tagparser: 12.1.0 -> 12.2.0
r-ryantm Jul 3, 2024
ba042c3
tagparser: set meta.platforms
wegank Jul 3, 2024
2a1cee9
gopls: 0.16.0 -> 0.16.1
r-ryantm Jul 3, 2024
ac0dc47
kdiagram: remove licenses.gpl2
Lurkki14 Jul 3, 2024
9da53c0
factorio: 1.1.107 -> 1.1.109
soukouki Jul 3, 2024
2afe367
python312Packages.pyoverkiz: 1.13.11 -> 1.13.12
fabaff Jun 30, 2024
bcee249
python312Packages.boto3-stubs: 1.34.136 -> 1.34.137
fabaff Jul 2, 2024
b6cbe4c
python312Packages.botocore-stubs: 1.34.136 -> 1.34.137
fabaff Jul 2, 2024
3b6706a
ollama: 0.1.47 -> 0.1.48
abysssol Jul 3, 2024
6dd9010
spades: 3.15.5 -> 4.0.0
bzizou Jun 17, 2024
9c3d94b
memento: 1.4.0 -> 1.4.1
r-ryantm Jul 3, 2024
45973ea
lidarr: 2.2.5.4141 -> 2.3.3.4204
alapshin Jun 10, 2024
f753281
python311Packages.faster-whisper: 1.0.2 -> 1.0.3
mweinelt Jul 2, 2024
315b8a5
zigbee2mqtt: 1.38.0 -> 1.39.0
mweinelt Jul 3, 2024
f7a4651
libadwaita: 1.5.1 -> 1.5.2
dotlambda Jul 1, 2024
9826af9
uhdm: 1.82 -> 1.83
hzeller May 15, 2024
ef51539
surelog: 1.82 -> 1.83
hzeller May 15, 2024
173ac92
superfile: 1.1.2 -> 1.1.3 (#323021)
redyf Jul 3, 2024
58a1595
picom-pijulius: 8.2-unstable-2024-06-13 -> 8.2-unstable-2024-07-01
r-ryantm Jul 3, 2024
0ea2fbf
bitwarden-cli: 2024.6.0 -> 2024.6.1
r-ryantm Jul 3, 2024
7411c0e
rapidfuzz-cpp: 3.0.4 -> 3.0.5
r-ryantm Jul 3, 2024
54a1ded
python311Packages.libknot: 3.3.6 -> 3.3.7
mweinelt Jun 25, 2024
557f930
miriway: 0-unstable-2024-05-17 -> 0-unstable-2024-06-13
r-ryantm Jun 29, 2024
d735035
cnquery: 11.10.0 -> 11.11.0
r-ryantm Jul 2, 2024
e234c57
nixos/prometheus-fastly-exporter: unwrap execstart
mweinelt Jun 10, 2024
b683b5f
nixos/tests/prometheus-exporters: add test script for fastly-exporter
mweinelt Jun 10, 2024
c0b9155
python311Packages.pytorch-metric-learning: refactor
mweinelt Jun 8, 2024
a51b45c
catppuccin-gtk: fix inconsistent theme name
eljamm Jul 2, 2024
0f2dcc7
vimPlugins.codesnap-nvim: 1.3.1 -> 1.4.0
GaetanLepage Jul 3, 2024
fa257b9
treefmt2: 2.0.1 -> 2.0.2 (#323995)
brianmcgee Jul 3, 2024
d4e4b20
nixos/cloud-init: Allow systemd.network to be enabled if cloud-init.n…
johannwagner Jul 2, 2024
b981158
nixos/cloud-init: Allow additional packages in cloud-init module
johannwagner Jul 2, 2024
c9cb38e
yt-dlp: 2024.7.1 -> 2024.7.2
SuperSandro2000 Jul 3, 2024
4a5c1f0
lxd-unwrapped-lts: fetch from github and fix updater
adamcstephens Jul 2, 2024
86a8f85
lxd-unwrapped-lts: 5.21.0 -> 5.21.1
adamcstephens Jul 2, 2024
3b7b68d
quickemu: fix Samba shares
michaeladler Jun 28, 2024
53dae48
rakudo: 2024.01 -> 2024.06
stigtsp Jul 3, 2024
3ada42b
nqp: 2024.01 -> 2024.06
stigtsp Jul 3, 2024
cae418f
moarvm: 2024.05 -> 2024.06
stigtsp Jul 3, 2024
7ff37bd
roddhjav-apparmor-rules: 0-unstable-2024-06-27 -> 0-unstable-2024-07-02
r-ryantm Jul 3, 2024
fe0be8b
Add regression test for libvirt NSS modules
michaelfranzl Jul 1, 2024
6bccda4
fastapi-cli: init at 0.0.4
drupol Jul 3, 2024
def70f1
parrot: use unstableGitUpdater
wegank Jul 3, 2024
7d56789
mongodb-6_0: 6.0.15 -> 6.0.16
qubitnano Jun 28, 2024
b24a502
yazi-unwrapped: build new yazi-cli tool
eljamm Jun 23, 2024
1e0aff1
yazi-unwrapped: format with nixfmt
eljamm Jul 3, 2024
1c3f304
checkov: 3.2.164 -> 3.2.168
fabaff Jul 3, 2024
a8d84f5
python312Packages.laundrify-aio: 1.2.0 -> 1.2.1
fabaff Jul 3, 2024
33f2db3
flex-ncat: 0.4-20231210.1 -> 0.4-20240702
r-ryantm Jul 3, 2024
e77801b
monado: unstable-2024-01-02 -> 24.0.0
Scrumplex Jun 8, 2024
4b26eee
monado: move to by-name
Scrumplex Jun 8, 2024
68c91a4
monado: add updateScript
Scrumplex Jun 30, 2024
08ca7dd
python312Packages.holidays: 0.51 -> 0.52
fabaff Jul 3, 2024
58480e5
python312Packages.google-ai-generativelanguage: 0.6.5 -> 0.6.6
fabaff Jul 3, 2024
db2c416
python312Packages.cyclopts: 2.8.0 -> 2.9.1
fabaff Jul 3, 2024
d0d6c4d
python312Packages.inkbird-ble: 0.5.6 -> 0.5.7
fabaff Jul 3, 2024
45323e4
python312Packages.boto3-stubs: 1.34.137 -> 1.34.138
fabaff Jul 3, 2024
b25a19e
python312Packages.botocore-stubs: 1.34.137 -> 1.34.138
fabaff Jul 3, 2024
4e68020
python3Packages.python-hcl2: init at 4.3.4
shivaraj-bh Jul 2, 2024
5b23014
python312Packages.pyenphase: 1.20.3 -> 1.20.5
fabaff Jul 3, 2024
fa311cb
python312Packages.oletools: 0.60.1 -> 0.60.2
fabaff Jul 3, 2024
9b0324b
python312Packages.std-uritemplate: 1.0.2 -> 1.0.3
fabaff Jul 3, 2024
6c3faec
python312Packages.twilio: 9.2.1 -> 9.2.3
fabaff Jul 3, 2024
2c0ceb0
python312Packages.python-technove: 1.2.2 -> 1.2.3
fabaff Jul 1, 2024
003fb58
python312Packages.python-technove: 1.2.3 -> 1.3.0
fabaff Jul 3, 2024
689f537
python312Packages.velbus-aio: 2024.4.1 -> 2024.7.0
fabaff Jul 1, 2024
dffc953
python312Packages.velbus-aio: 2024.7.0 -> 2024.7.1
fabaff Jul 3, 2024
7d0ef94
python312Packages.pyexploitdb: 0.2.23 -> 0.2.24
fabaff Jul 3, 2024
36da5c9
python312Packages.reolink-aio: 0.9.3 -> 0.9.4
fabaff Jul 3, 2024
246f50d
exploitdb: 2024-06-27 -> 2024-07-02
r-ryantm Jul 3, 2024
2d7369f
python312Packages.asteval: 0.9.33 -> 1.0.0
fabaff Jul 3, 2024
65b1d78
python312Packages.tencentcloud-sdk-python: 3.0.1180 -> 3.0.1181
fabaff Jul 3, 2024
5675d79
cinnamon.nemo: Backport search window fix
bobby285271 Jul 2, 2024
c53ce27
rcu: Fix hash
OPNA2608 Jul 2, 2024
364f7cd
python311Packages.ocrmypdf: 16.3.1 -> 16.4.0
dotlambda Jun 21, 2024
f6a331a
albert: 0.24.1 -> 0.24.2
r-ryantm Jul 3, 2024
7f21679
ember-cli: init at 5.3.0
jfvillablanca Oct 14, 2023
3f7d447
nodePackages.vscode-css-languageserver-bin: drop
tomodachi94 Jun 26, 2024
7ae8b2a
nodePackages.vscode-html-languageserver-bin: drop
tomodachi94 Jun 26, 2024
caa3c44
nodePackages.vscode-json-languageserver-bin: drop
tomodachi94 Jun 26, 2024
012a260
nixos/doc/rl-2411: drop nodePackages.vscode-*-bin
tomodachi94 Jun 26, 2024
bbb2a58
typescript: 5.5.2 -> 5.5.3
r-ryantm Jul 2, 2024
463bcb9
tailscale: 1.68.1 -> 1.68.2
r-ryantm Jul 3, 2024
c9217b4
nixos/renovate: allow AF_UNIX access
NyCodeGHG Jul 2, 2024
53365c6
python3Packages.result: 0.16.1 -> 0.17.0
emattiza Jun 3, 2024
db98457
nodePackages.uglify-js: repackage using buildNpmPackage
Feb 7, 2024
5a495b4
taskflow: 3.6.0 -> 3.7.0
r-ryantm May 7, 2024
5964581
maintainers: Add lyndeno
Lyndeno Jul 2, 2024
2430ee9
power-profiles-daemon: Add lyndeno as maintainer
Lyndeno Jul 2, 2024
eb63095
pkgs/misc: remove licenses.gpl2
Lurkki14 May 26, 2024
647e17f
retext: remove unfree dependency
nix-julia Jun 30, 2024
53cae10
CODEOWNERS: add natsukium to python stuff
natsukium Jul 2, 2024
6dfa896
buildPython*: make doCheck default less confusing
ShamrockLee May 1, 2024
e525217
balena-cli: 18.2.10 -> 18.2.17
r-ryantm Jul 3, 2024
94228bd
raycast: 1.77.3 -> 1.78.0
DontEatOreo Jul 3, 2024
85a38e7
python3Packages.process-tests: optional ignore_case param to wait_for…
summersamara Jul 3, 2024
94bf15d
lmstudio: 0.2.25 -> 0.2.27
crertel Jul 3, 2024
1672f2e
c2fmzq: 0.4.20 -> 0.4.21
r-ryantm Jul 3, 2024
e6be336
roxctl: 4.4.3 -> 4.4.4
r-ryantm Jul 3, 2024
11ccc1f
protonmail-bridge: 3.11.1 -> 3.12.0
r-ryantm Jul 2, 2024
98f64fe
nixos/espanso: fix wayland option
rawkode Jun 5, 2024
db88626
signalbackup-tools: 20240627 -> 20240702-2
malob Jul 2, 2024
a6fefef
brainflow: init at 5.12.1
May 7, 2024
79f34ef
python3Packages.brainflow: init at 5.12.1
Apr 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,11 @@ nixos/modules/installer/tools/nix-fallback-paths.nix @raitobezarius
/pkgs/common-updater/scripts/update-source-version @jtojnar

# Python-related code and docs
/doc/languages-frameworks/python.section.md @mweinelt
/pkgs/development/interpreters/python/hooks
/doc/languages-frameworks/python.section.md @mweinelt @natsukium
/maintainers/scripts/update-python-libraries @natsukium
/pkgs/development/interpreters/python @natsukium
/pkgs/top-level/python-packages.nix @natsukium
/pkgs/top-level/release-python.nix @natsukium

# Haskell
/doc/languages-frameworks/haskell.section.md @sternenseemann @maralorn @ncfavier
Expand Down
11 changes: 11 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5395,6 +5395,11 @@
githubId = 5596239;
keys = [ { fingerprint = "62BC E2BD 49DF ECC7 35C7 E153 875F 2BCF 163F 1B29"; } ];
};
dseelp = {
name = "dsee";
github = "DSeeLP";
githubId = 46624152;
};
dsferruzza = {
email = "[email protected]";
github = "dsferruzza";
Expand Down Expand Up @@ -12000,6 +12005,12 @@
github = "itslychee";
name = "Lychee";
};
lyndeno = {
name = "Lyndon Sanche";
email = "[email protected]";
github = "Lyndeno";
githubId = 13490857;
};
lynty = {
email = "[email protected]";
github = "Lynty";
Expand Down
1 change: 1 addition & 0 deletions maintainers/team-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ with lib.maintainers;
aanderse
drupol
ma27
piotrkwiecinski
talyz
];
githubTeams = [ "php" ];
Expand Down
4 changes: 4 additions & 0 deletions nixos/doc/manual/release-notes/rl-2411.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@

- Android NDK version 26 and SDK version 33 are now the default versions used for cross compilation to android.

- `nodePackages.vscode-css-languageserver-bin`, `nodePackages.vscode-html-languageserver-bin`,
and `nodePackages.vscode-json-languageserver-bin` were dropped due to an unmaintained upstream.
The `vscode-langservers-extracted` package is a maintained drop-in replacement.

- `haskell.lib.compose.justStaticExecutables` now disallows references to GHC in the
output by default, to alert users to closure size issues caused by
[#164630](https://github.com/NixOS/nixpkgs/issues/164630). See ["Packaging
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/services/desktops/espanso.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ in {
options = {
services.espanso = {
enable = mkEnableOption "Espanso";
wayland = mkEnableOption "use the Wayland compatible espanso package";
package = mkPackageOption pkgs "espanso" {
example = "pkgs.espanso-wayland";
};
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/services/misc/renovate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ in
RestrictAddressFamilies = [
"AF_INET"
"AF_INET6"
"AF_UNIX"
];
RestrictNamespaces = true;
RestrictRealtime = true;
Expand Down
41 changes: 23 additions & 18 deletions nixos/modules/services/monitoring/prometheus/exporters/fastly.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{ config
, lib
, pkgs
, options
, ...
{
config,
lib,
pkgs,
utils,
...
}:

let
inherit (lib)
escapeShellArgs
getExe
mkOption
optionals
types
;
;

inherit (utils) escapeSystemdExecArgs;

cfg = config.services.prometheus.exporters.fastly;
in
Expand Down Expand Up @@ -39,17 +42,19 @@ in
serviceOpts = {
serviceConfig = {
LoadCredential = "fastly-api-token:${cfg.tokenPath}";
Environment = [ "FASTLY_API_TOKEN=%d/fastly-api-token" ];
ExecStart = escapeSystemdExecArgs (
[
(getExe pkgs.prometheus-fastly-exporter)
"-listen"
"${cfg.listenAddress}:${toString cfg.port}"
]
++ optionals (cfg.configFile != null) [
"--config-file"
cfg.configFile
]
++ cfg.extraFlags
);
};
script = let
call = escapeShellArgs ([
"${pkgs.prometheus-fastly-exporter}/bin/fastly-exporter"
"-listen" "${cfg.listenAddress}:${toString cfg.port}"
] ++ optionals (cfg.configFile != null) [
"--config-file" cfg.configFile
] ++ cfg.extraFlags);
in ''
export FASTLY_API_TOKEN="$(cat $CREDENTIALS_DIRECTORY/fastly-api-token)"
${call}
'';
};
}
11 changes: 10 additions & 1 deletion nixos/modules/services/system/cloud-init.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ let
++ optional cfg.btrfs.enable btrfs-progs
++ optional cfg.ext4.enable e2fsprogs
++ optional cfg.xfs.enable xfsprogs
++ cfg.extraPackages
;
hasFs = fsName: lib.any (fs: fs.fsType == fsName) (lib.attrValues config.fileSystems);
settingsFormat = pkgs.formats.yaml { };
Expand Down Expand Up @@ -79,6 +80,14 @@ in
'';
};

extraPackages = mkOption {
type = types.listOf types.package;
default = [ ];
description = ''
List of additional packages to be available within cloud-init jobs.
'';
};

settings = mkOption {
description = ''
Structured cloud-init configuration.
Expand Down Expand Up @@ -163,7 +172,7 @@ in
{ text = cfg.config; }
;

systemd.network.enable = cfg.network.enable;
systemd.network.enable = mkIf cfg.network.enable true;

systemd.services.cloud-init-local = {
description = "Initial cloud-init job (pre-networking)";
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/ttys/kmscon.nix
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ in {
services.kmscon.extraConfig =
let
xkb = optionals cfg.useXkbConfig
lib.mapAttrsToList (n: v: "xkb-${n}=${v}") (
(lib.mapAttrsToList (n: v: "xkb-${n}=${v}") (
lib.filterAttrs
(n: v: builtins.elem n ["layout" "model" "options" "variant"] && v != "")
config.services.xserver.xkb
);
));
render = optionals cfg.hwRender [ "drm" "hwaccel" ];
fonts = optional (cfg.fonts != null) "font-name=${lib.concatMapStringsSep ", " (f: f.name) cfg.fonts}";
in lib.concatStringsSep "\n" (xkb ++ render ++ fonts);
Expand Down
41 changes: 36 additions & 5 deletions nixos/tests/acme.nix
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,14 @@ in {
# Tests HTTP-01 verification using Lego's built-in web server
http01lego.configuration = simpleConfig;

# account hash generation with default server from <= 23.11
http01lego_legacyAccountHash.configuration = lib.mkMerge [
simpleConfig
{
security.acme.defaults.server = lib.mkForce null;
}
];

renew.configuration = lib.mkMerge [
simpleConfig
{
Expand Down Expand Up @@ -424,7 +432,7 @@ in {
backoff = BackoffTracker()


def switch_to(node, name):
def switch_to(node, name, allow_fail=False):
# On first switch, this will create a symlink to the current system so that we can
# quickly switch between derivations
root_specs = "/tmp/specialisation"
Expand All @@ -438,9 +446,14 @@ in {
if rc > 0:
switcher_path = f"/tmp/specialisation/{name}/bin/switch-to-configuration"

node.succeed(
f"{switcher_path} test"
)
if not allow_fail:
node.succeed(
f"{switcher_path} test"
)
else:
node.execute(
f"{switcher_path} test"
)


# Ensures the issuer of our cert matches the chain
Expand Down Expand Up @@ -544,7 +557,7 @@ in {
check_issuer(webserver, "http.example.test", "pebble")

# Perform account hash test
with subtest("Assert that account hash didn't unexpected change"):
with subtest("Assert that account hash didn't unexpectedly change"):
hash = webserver.succeed("ls /var/lib/acme/.lego/accounts/")
print("Account hash: " + hash)
assert hash.strip() == "d590213ed52603e9128d"
Expand Down Expand Up @@ -727,5 +740,23 @@ in {
webserver.wait_for_unit(f"acme-finished-{test_domain}.target")
wait_for_server()
check_connection_key_bits(client, test_domain, "384")

# Perform http-01 w/ lego test again, but using the pre-24.05 account hashing
# (see https://github.com/NixOS/nixpkgs/pull/317257)
with subtest("Check account hashing compatibility with pre-24.05 settings"):
webserver.succeed("rm -rf /var/lib/acme/.lego/accounts/*")
switch_to(webserver, "http01lego_legacyAccountHash", allow_fail=True)
# unit is failed, but in a way that this throws no exception:
try:
webserver.wait_for_unit("acme-finished-http.example.test.target")
except Exception:
# The unit is allowed – or even expected – to fail due to not being able to
# reach the actual letsencrypt server. We only use it for serialising the
# test execution, such that the account check is done after the service run
# involving the account creation has been executed at least once.
pass
hash = webserver.succeed("ls /var/lib/acme/.lego/accounts/")
print("Account hash: " + hash)
assert hash.strip() == "1ccf607d9aa280e9af00"
'';
}
5 changes: 5 additions & 0 deletions nixos/tests/libvirtd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ import ./make-test-python.nix ({ pkgs, ... }: {
networking.hostId = "deadbeef"; # needed for zfs
security.polkit.enable = true;
environment.systemPackages = with pkgs; [ virt-manager ];

# This adds `resolve` to the `hosts` line of /etc/nsswitch.conf; NSS modules placed after it
# will not be consulted. Therefore this tests that the libvirtd NSS modules will be
# be placed early enough for name resolution to work.
services.resolved.enable = true;
};
};

Expand Down
5 changes: 2 additions & 3 deletions nixos/tests/prometheus-exporters.nix
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,9 @@ let
tokenPath = pkgs.writeText "token" "abc123";
};

# noop: fastly's exporter can't start without first talking to fastly
# see: https://github.com/peterbourgon/fastly-exporter/issues/87
exporterTest = ''
succeed("true");
wait_for_unit("prometheus-fastly-exporter.service")
wait_for_open_port(9118)
'';
};

Expand Down
52 changes: 43 additions & 9 deletions nixos/tests/scion/freestanding-deployment/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,51 @@ in
# List of AS instances
machines = [scion01, scion02, scion03, scion04, scion05]

# Functions to avoid many for loops
def start(allow_reboot=False):
for i in machines:
i.start(allow_reboot=allow_reboot)

def wait_for_unit(service_name):
for i in machines:
i.wait_for_unit(service_name)

def succeed(command):
for i in machines:
i.succeed(command)

def reboot():
for i in machines:
i.reboot()

def crash():
for i in machines:
i.crash()

# Start all machines, allowing reboot for later
start(allow_reboot=True)

# Wait for scion-control.service on all instances
for i in machines:
i.wait_for_unit("scion-control.service")
wait_for_unit("scion-control.service")

# Execute pingAll command on all instances
for i in machines:
i.succeed("${pingAll} >&2")

# Restart scion-dispatcher and ping again to test robustness
for i in machines:
i.succeed("systemctl restart scion-dispatcher >&2")
i.succeed("${pingAll} >&2")
succeed("${pingAll} >&2")

# Restart all scion services and ping again to test robustness
succeed("systemctl restart scion-* >&2")
succeed("${pingAll} >&2")

# Reboot machines, wait for service, and ping again
reboot()
wait_for_unit("scion-control.service")
succeed("${pingAll} >&2")

# Crash, start, wait for service, and ping again
crash()
start()
wait_for_unit("scion-control.service")
succeed("pkill -9 scion-* >&2")
wait_for_unit("scion-control.service")
succeed("${pingAll} >&2")
'';
})
6 changes: 4 additions & 2 deletions pkgs/applications/audio/parrot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
, ffmpeg
, libopus
, makeBinaryWrapper
, nix-update-script
, unstableGitUpdater
, openssl
, pkg-config
, stdenv
Expand Down Expand Up @@ -35,7 +35,9 @@ rustPlatform.buildRustPackage {
--prefix PATH : ${lib.makeBinPath [ ffmpeg yt-dlp ]}
'';

passthru.updateScript = nix-update-script { };
passthru.updateScript = unstableGitUpdater {
tagPrefix = "v";
};

meta = {
description = "Hassle-free Discord music bot";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
, gnugrep
, gnused
, gnutar
, gtk2, gnome_vfs, glib, GConf
, gtk2, glib
, gzip
, fontsConf
, fontconfig
Expand Down Expand Up @@ -107,9 +107,7 @@ let

# For GTKLookAndFeel
gtk2
gnome_vfs
glib
GConf

# For Soong sync
e2fsprogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{ callPackage, makeFontsConf, gnome2, buildFHSEnv, tiling_wm ? false }:
{ callPackage, makeFontsConf, buildFHSEnv, tiling_wm ? false }:

let
mkStudio = opts: callPackage (import ./common.nix opts) {
fontsConf = makeFontsConf {
fontDirectories = [];
};
inherit (gnome2) GConf gnome_vfs;
inherit buildFHSEnv;
inherit tiling_wm;
};
Expand Down
Loading