Commit Graph

656842 Commits

Author SHA1 Message Date
Sergey Vlasov
081b609aea
i3: add test-only deps to buildInputs only when testing is enabled
This may fix the build on Darwin (the `xvfb-run` package, which is
required only to run the testsuite, is Linux-only since #123097, and the
“proper solution” mentioned in that PR was not implemented).  Apparently
someone cared about building `i3` on Darwin at the time of #6135.
2024-07-23 22:15:37 +02:00
Sergey Vlasov
43e1972a68
i3: enable the testsuite on all Linux platforms
The testsuite can run only on Linux, because it requires `xvfb-run`,
which is not available on non-Linux platforms; however, it should not be
limited just to `x86_64-linux`.

The conditional setting of `checkPhase` was introduced in #6135, because
at that time the `checkPhase` script referred to `${xdummy}`, and that
kind of reference would break evaluation if the specified package was
not available; the current version of the `checkPhase` script does not
refer to any package paths directly, therefore the condition is no
longer needed and can be removed.
2024-07-23 22:15:37 +02:00
Sergey Vlasov
e9f59d8d50
i3-rounded: disable testsuite
Some tests in the `i3-rounded` fork are failing; disable the testsuite
to allow the package to build as before.
2024-07-23 22:15:37 +02:00
Sergey Vlasov
a32ddd6d6c
i3: make postPatch work for older forks too
The `i3-rounded` package is derived from `i3`, but uses some old fork of
`i3` which does not have the `318-i3-dmenu-desktop.t` testcase.  Make
the code in `postPatch` check whether that testcase is actually present,
so that the build of `i3-rounded` does not fail.
2024-07-23 22:15:37 +02:00
Sergey Vlasov
f2f398f81f
i3: add more dependencies used by tests
Some tests in the i3 testsuite are silently skipped if the dependencies
required to run those tests are missing.  The problematic dependencies
turned out to be `xdotool`, `xorg.setxkbmap`, `xorg.xrandr`, `which`
(the latter is used to verify the presence of some tools).  Add those
dependencies to `buildInputs`, so that all tests would be run.

Ideally such missing dependencies should be detected as test failures,
but it's hard to implement, because missing tools result just in `skip`
marks in the test log, and there are some tests which are skipped for
other reasons (e.g., tests which were written before the expected
behavior is actually implemented in i3).
2024-07-23 22:15:35 +02:00
Sergey Vlasov
b934fad58c
i3: fix and reenable testsuite
The `checkPhase` script was stale and needed to be rewritten for the new
version of i3 (paths are different now, and `complete-run.pl` now
invokes `xvfb-run` internally).  The code to check the log file for
errors might be unneeded for the new version (`complete-run.pl` seems to
return a non-zero exit code correctly on errors), but is left to catch
any possible regressions in the test runner behavior.

Also the `318-i3-dmenu-desktop.t` testcase was failing, because that
testcase was creating a temporary Perl script intended to shadow the
real `i3-msg` executable, but the `#!/usr/bin/env perl` shebang in that
script did not work in the build environment; this problem was not
really obvious, because `system('i3-msg', $cmd)` silently continued to
search for the `i3-msg` executable further in `$PATH` and launched the
real binary instead of the replacement script.  The problematic shebang
needed to be replaced manually, because `patchShebangs` handles only
real shebangs on the first line of each executable file.
2024-07-23 22:13:25 +02:00
Franz Pletz
f20ebb1201
Merge pull request #328967 from fpletz/pkgs/di-4.53 2024-07-23 22:06:34 +02:00
Franz Pletz
ddc5898ee2
Merge pull request #328959 from fpletz/pkgs/jool-4.1.12 2024-07-23 22:04:23 +02:00
Robert Scott
13d3588998
Merge pull request #329219 from risicle/ris-html-sanitizer-2.4.4
python312Packages.html-sanitizer: 2.3.1 -> 2.4.4
2024-07-23 21:04:09 +01:00
Nick Cao
4a4bda4114
Merge pull request #326657 from r-ryantm/auto-update/step-ca
step-ca: 0.26.2 -> 0.27.2
2024-07-23 16:01:37 -04:00
Nick Cao
8ec06bc2ac
Merge pull request #328868 from r-ryantm/auto-update/remnote
remnote: 1.16.59 -> 1.16.72
2024-07-23 15:59:01 -04:00
Nick Cao
e4263efbf5
Merge pull request #329240 from r-ryantm/auto-update/qrtool
qrtool: 0.11.2 -> 0.11.3
2024-07-23 15:58:10 -04:00
Nick Cao
25bad350e2
Merge pull request #329345 from r-ryantm/auto-update/tuba
tuba: 0.8.1 -> 0.8.2
2024-07-23 15:57:32 -04:00
Vladimír Čunát
11c3dfc6e4
Merge #329471: knot-resolver: 5.7.3 -> 5.7.4 2024-07-23 21:56:33 +02:00
Vladimír Čunát
564ea40f6f
Merge #329160: python3Packages.libknot, prometheus-knot-exporter: 3.3.7 -> 3.3.8 2024-07-23 21:52:30 +02:00
Nick Cao
d8f7b81556
Merge pull request #329444 from r-ryantm/auto-update/phrase-cli
phrase-cli: 2.31.0 -> 2.31.1
2024-07-23 15:52:27 -04:00
Nick Cao
66a38e8634
Merge pull request #329445 from r-ryantm/auto-update/firebase-tools
firebase-tools: 13.13.2 -> 13.13.3
2024-07-23 15:51:59 -04:00
Nick Cao
c39388b7ea
Merge pull request #329382 from r-ryantm/auto-update/wttrbar
wttrbar: 0.10.4 -> 0.10.5
2024-07-23 15:51:07 -04:00
Nick Cao
d514fca3c6
Merge pull request #329358 from fabaff/pyexploitdb-bump
python312Packages.pyexploitdb: 0.2.26 -> 0.2.27
2024-07-23 15:50:39 -04:00
Nick Cao
c1776a738b
Merge pull request #329390 from r-ryantm/auto-update/gogdl
gogdl: 1.1.0 -> 1.1.1
2024-07-23 15:49:55 -04:00
Nick Cao
c640aaddf8
Merge pull request #329405 from r-ryantm/auto-update/cargo-xwin
cargo-xwin: 0.17.2 -> 0.17.3
2024-07-23 15:48:58 -04:00
Nick Cao
7b527c9cf7
Merge pull request #329406 from r-ryantm/auto-update/rune
rune: 0.13.3 -> 0.13.4
2024-07-23 15:48:38 -04:00
Nick Cao
0eca0bcd42
Merge pull request #329410 from r-ryantm/auto-update/git-ignore
git-ignore: 1.3.3 -> 1.4.0
2024-07-23 15:48:08 -04:00
Nick Cao
fb47f6b7a4
Merge pull request #329373 from vcunat/p/knot-dns-bump
knot-dns: 3.3.7 -> 3.3.8
2024-07-23 15:46:47 -04:00
Nick Cao
1edcaedc3e
Merge pull request #329359 from fabaff/tencentcloud-sdk-python-bump
python312Packages.tencentcloud-sdk-python: 3.0.1194 -> 3.0.1195
2024-07-23 15:45:53 -04:00
Nick Cao
2199f2c0a2
Merge pull request #329368 from isabelroses/fix/step-cli
step-cli: fix hash missmatch
2024-07-23 15:45:12 -04:00
Martin Weinelt
a5603cea97
Merge pull request #329483 from JManch/waste-collection-schedule
home-assistant-custom-components.waste_collection_schedule: 1.48.0 -> 2.0.1
2024-07-23 21:36:54 +02:00
Robert Schütz
284aec7f40
Merge pull request #329385 from dotlambda/code-server
code-server: 4.89.1 -> 4.91.1
2024-07-23 12:22:22 -07:00
Fabian Affolter
fe020d3c82
Merge pull request #329467 from r-ryantm/auto-update/python312Packages.awscrt
python312Packages.awscrt: 0.21.1 -> 0.21.2
2024-07-23 21:20:48 +02:00
Maximilian Bosch
ee3314acb2
Merge pull request #329456 from Ma27/bump-meshcentral
meshcentral: 1.1.24 -> 1.1.26
2024-07-23 19:19:58 +00:00
Joshua Manchester
12490b4e7b
home-assistant-custom-components.waste_collection_schedule: 1.48.0 -> 2.0.1
https://github.com/mampfes/hacs_waste_collection_schedule/releases/tag/1.49.0
https://github.com/mampfes/hacs_waste_collection_schedule/releases/tag/2.0.0
https://github.com/mampfes/hacs_waste_collection_schedule/releases/tag/2.0.1
2024-07-23 20:12:30 +01:00
Jan Tojnar
3178439a4e
Merge pull request #282317 from dawidd6/gdm-autologin-unlocks-keyring
nixos/gdm: autologin unlocks keyring when possible
2024-07-23 21:04:35 +02:00
Silvan Mosberger
1f0b359712
Enforce nixfmt on new files and changed files that were already formatted (#326407)
* workflows/check-nix-format: Enforce nixfmt on new/changed files

This makes the Nix format workflow check new/changed files instead of
just an allowlist.

This enforces that all PRs updated after this is merged are required to
have fully standard formatted Nix files!

* workflows/check-nix-format: determine changed files via base commit

The next commit will use this to have a simpler change

* workflows/check-nix-format: Only ensure for already formatted files

This prevents situations where contributors need to suddenly format a
huge file even if they only changed a small part of it (e.g.
all-packages.nix)
2024-07-23 15:03:15 -04:00
Azat Bahawi
42cc3406c5
Merge pull request #326898 from azahi/packcc-202
packcc: 1.8.0 -> 2.0.2
2024-07-23 18:59:00 +00:00
Tom Herbers
17bab7c94e
knot-resolver: 5.7.3 -> 5.7.4
https://gitlab.nic.cz/knot/knot-resolver/-/releases/v5.7.4
2024-07-23 20:30:11 +02:00
R. Ryantm
1500ccb5fe python312Packages.awscrt: 0.21.1 -> 0.21.2 2024-07-23 18:13:12 +00:00
Doron Behar
748db8ec5c
Merge pull request #329446 from r-ryantm/auto-update/balena-cli
balena-cli: 18.2.29 -> 18.2.33
2024-07-23 21:07:33 +03:00
Raghav Sood
27ab0078d8
Merge pull request #329354 from r-ryantm/auto-update/flyctl
flyctl: 0.2.88 -> 0.2.94
2024-07-24 01:34:18 +08:00
tomberek
508734f29a
Merge pull request #329449 from mweinelt/bind-9.18.28
bind: 9.18.27 -> 9.18.28
2024-07-23 13:32:07 -04:00
Silvan Mosberger
1cfc3a0995
Merge pull request #329399 from emilazy/push-vvksqvwqvyuq
CONTRIBUTING.md: point to the Matrix Staging room
2024-07-23 19:23:58 +02:00
Maximilian Bosch
cce932597d
meshcentral: 1.1.24 -> 1.1.26
ChangeLogs:
* https://github.com/Ylianst/MeshCentral/releases/tag/1.1.25
* https://github.com/Ylianst/MeshCentral/releases/tag/1.1.26
2024-07-23 18:57:53 +02:00
Emily
e820a60e93 CONTRIBUTING.md: point to the Matrix Staging room 2024-07-23 17:30:46 +01:00
Martin Weinelt
bbb4e2f9e2
bind: 9.18.27 -> 9.18.28
https://downloads.isc.org/isc/bind9/cur/9.18/CHANGES
https://www.openwall.com/lists/oss-security/2024/07/23/1

Fixes: CVE-2024-1975, CVE-2024-4076, CVE-2024-1737, CVE-2024-0760
2024-07-23 18:30:10 +02:00
R. Ryantm
515f7d0156 balena-cli: 18.2.29 -> 18.2.33 2024-07-23 16:18:44 +00:00
R. Ryantm
eb0627014b firebase-tools: 13.13.2 -> 13.13.3 2024-07-23 16:18:22 +00:00
R. Ryantm
b535b380d5 phrase-cli: 2.31.0 -> 2.31.1 2024-07-23 16:18:20 +00:00
Robert Schütz
f11a6a01cb
Merge pull request #329408 from dotlambda/_1password-gui
_1password-gui: 8.10.33 -> 8.10.36, _1password-gui-beta: 8.10.34-10.BETA -> 8.10.38-13.BETA
2024-07-23 09:00:20 -07:00
Silvan Mosberger
4ce93feb84
Merge pull request #329436 from infinisil/partial-revert-313109
Partially revert "build(deps): bump cachix/install-nix-action from 26 to 27"
2024-07-23 17:48:27 +02:00
Peder Bergebakken Sundt
81fd6e1e6c
Merge pull request #329328 from r-ryantm/auto-update/python312Packages.amaranth
python312Packages.amaranth: 0.5.0 -> 0.5.1
2024-07-23 17:48:06 +02:00
Peder Bergebakken Sundt
79b19c002b
Merge pull request #329256 from pbsds/bump-ktfmt-1721684822
ktfmt: 0.47 -> 0.51
2024-07-23 17:45:48 +02:00