Commit Graph

261183 Commits

Author SHA1 Message Date
Andreas Rammhold
37539e7768
nixos/tests/systemd-journal: ensure that --grep works
Previously, after the version bump to v247, we broke journalctl --grep
as libpcre2 was lazily loaded during runtime using dlopen(3). This
ensures that we have a test case that alerts us when it fails again.
2021-01-03 11:50:01 +01:00
Andreas Rammhold
494ed4d6ee
systemd: patch runtime dlopen calls
This ensures that all the features that are implemented via dlopen(3)
are available (or explicitly deactivated) by pointing dlopen to the
absolute store path instead of relying on the linkers runtime lookup
code.

All of the dlopen calls have to be handled. When new ones are introduced
by upstream (or one of our patches) those must be explicitly declared,
otherwise the build will fail.

As of systemd version 247 we've seen a few errors like `libpcre2.… not
found` when using e.g. --grep with journalctl. Those errors should
become less unexpected now.

There are generally two classes of dlopen calls. Those that we want to
support and those that should be deactivated / unsupported. This change
enforces that we handle all dlopen calls explicitly. Meaning: There is
not a single dlopen call in the code source tree that we did not
explicitly handle.

In order to do this I introduced a list of attributes that maps from
shared object name to the package that contains them. The package can be
null meaning the reference should be nuked and the shared object will
never be loadable during runtime (because it points at an invalid store
path location).
2021-01-03 11:50:01 +01:00
Andreas Rammhold
c2884c4011
Merge pull request #106954 from r-burns/randomseed
[staging] stdenv: trim random seed to avoid reference cycles
2021-01-02 11:01:34 +01:00
Florian Klink
3050545e41
Merge pull request #107808 from flokli/dconf-fix-cross
dconf: fix cross compilation
2021-01-01 21:09:35 +01:00
Michael Weiss
16cf68dc7a
mesa: 20.3.1 -> 20.3.2 (#108152)
This also applies the macOS patch unconditionally to avoid breakages in
the future.
2021-01-01 20:08:54 +01:00
Ben Siraphob
3496ce2a0c treewide: remove trailing whitespaces 2021-01-01 10:41:04 -08:00
Ben Siraphob
863054f9da firehol: move patches into files 2021-01-01 10:41:04 -08:00
github-actions[bot]
0eb369d907
Merge staging-next into staging 2021-01-01 18:39:12 +00:00
github-actions[bot]
c0a9361687
Merge master into staging-next 2021-01-01 18:39:09 +00:00
Fabian Affolter
80c1675581 python3Packages.channels-redis: 2.4.0 -> 3.2.0 2021-01-01 10:38:54 -08:00
WilliButz
5e9d92c839
Merge pull request #108142 from Ma27/grafana-img-renderer
grafana-image-renderer: init at 2020-12-01
2021-01-01 19:19:51 +01:00
Maximilian Bosch
ca2a67549d
nixos/grafana-image-renderer: init 2021-01-01 19:19:11 +01:00
Maximilian Bosch
a9d0682475
grafana-image-renderer: init at 2020-12-01
This package[1] is a replacement for the old phantomjs-integration[2]
which is practically EOL. It is basically used to render PNGs of panels
that triggered an alert in Grafana.

This package internally uses `puppeteer`[3] to control a headless
Chromium instance. Even though puppeteer recommends to use a fixed
revision of `chromium`, I checked that our default `pkgs.chromium` works
fine as well. Also, I don't think it's a good idea to use outdated
browser versions[4].

I used the latest revision from `master` on purpose since compiling the
code with `tsc` from `v2.0` didn't work and I couldn't figure out why.

[1] https://grafana.com/grafana/plugins/grafana-image-renderer
[2] https://grafana.com/blog/2020/05/07/grafana-7.0-preview-new-image-renderer-plugin-to-replace-phantomjs/
[3] https://github.com/puppeteer/puppeteer
[4] currently, puppeteer v2.0.0 is used which recommends revision 706915
    (v79.0.3945.130).
2021-01-01 19:19:11 +01:00
Ben Darwin
0fd1192132
itk: 5.1.1 -> 5.1.2 (#107502) 2021-01-01 12:59:14 -05:00
Dmitry Kalinkin
8bee208bf8
Merge pull request #107335 from veprbl/pr/root_6_20_08
root: 6.18.04 -> 6.22.06, don't build vendored LLVM
2021-01-01 12:28:37 -05:00
Ryan Mulligan
1e9dee0b30
Merge pull request #108127 from r-ryantm/auto-update/python3.7-abodepy
python37Packages.abodepy: 1.2.0 -> 1.2.1
2021-01-01 09:11:38 -08:00
Wout Mertens
7394bfbcd1
Merge pull request #108132 from wmertens/pam_ssh-edcsa-fix
pam-ssh-agent: fix EDCSA crash
2021-01-01 17:59:21 +01:00
Jonas Chevalier
1996ff7d42
direnv: 2.25.1 -> 2.27.0 (#108125) 2021-01-01 08:39:41 -08:00
WilliButz
0587d518db
Merge pull request #107891 from lukegb/smokeping-prober
prometheus-smokeping-prober: init at 0.3.1 from git
2021-01-01 16:08:20 +01:00
WilliButz
15c7a0eb18
Merge pull request #108067 from 0x4A6F/master-prometheus-service
nixos/prometheus: fix remote_{read,write} options
2021-01-01 16:04:06 +01:00
WilliButz
2b04b8817e
Merge pull request #108096 from lukegb/bird-exporter
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 16:03:37 +01:00
WilliButz
a4960d450e
Merge pull request #107980 from lukegb/grafana-plugins
Add Nix packages for Grafana plugins and allow declarative installation
2021-01-01 16:00:17 +01:00
0x4A6F
06414886f1
nixos/prometheus: fix remote_{read,write} options
Fix and reorder options and use mkOpt for optional parameters,
according to official documentation.
2021-01-01 14:43:51 +00:00
R. RyanTM
b541bc1eaf python37Packages.abodepy: 1.2.0 -> 1.2.1 2021-01-01 14:22:05 +00:00
Martin Weinelt
5bcc26338d
Merge pull request #108027 from Mic92/kaldi
kaldi: init at 2020-12-26
2021-01-01 14:42:55 +01:00
Daniël de Kok
815bfe3cb6
Merge pull request #108057 from lourkeur/brave-installCheck
brave: test rpath in installCheck
2021-01-01 13:49:38 +01:00
Anderson Torres
c868414fcf
Merge pull request #107831 from magnetophon/emulsion
emulsion: init at 7.2
2021-01-01 09:46:26 -03:00
Pavol Rusnak
9fbcb14780
Merge pull request #108119 from prusnak/chiaki
chiaki: cleanup package
2021-01-01 13:43:07 +01:00
Pavol Rusnak
fe1151218c chiaki: cleanup package 2021-01-01 13:33:16 +01:00
Louis Bettens
051389eb18 brave: test rpath in installCheck
This check helps with making sure that we provide all the required
shared libraries to brave. If something is missing, the command will get
ENOENT, otherwise it should terminate normally.
2021-01-01 13:31:17 +01:00
github-actions[bot]
f1df516121
Merge staging-next into staging 2021-01-01 12:25:55 +00:00
github-actions[bot]
0fe33caad3
Merge master into staging-next 2021-01-01 12:25:52 +00:00
Pavol Rusnak
37c9f30f66
Merge pull request #107983 from Emantor/topic/chiaki_bump_touchpad
chiaki: 1.3.0 -> 2.0.1 & touchpad support
2021-01-01 13:21:17 +01:00
Robert Helgesson
9ce91be010 lombok: add bin output with lombok wrapper script
The wrapper can be used, e.g., to run the delombok command.
2021-01-01 13:13:10 +01:00
Lassulus
88439304c6
Merge pull request #107199 from mcbeth/qrcodegen
qrcodegen: init at 1.6.0
2021-01-01 12:32:40 +01:00
Robert Helgesson
bd970a5e17 jwt-cli: 3.2.1 -> 3.3.0 2021-01-01 12:03:13 +01:00
Robert Helgesson
a9e7aa9329 unifont_upper: 13.0.04 -> 13.0.05 2021-01-01 12:01:59 +01:00
Robert Helgesson
63476e2b73 unifont: 13.0.04 -> 13.0.05 2021-01-01 12:01:59 +01:00
Jörg Thalheim
e03e3c5fad
kaldi: init at 2020-12-26
State-of-the-art speech-to-text engine - used in rhasspy

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-01 11:07:37 +01:00
Ryan Burns
b095078f44 gnutls: fix build on darwin
Incompatible with staged update to autoconf 2.70.
No effect on linux as autoconf is only needed on darwin.
2021-01-01 10:56:14 +01:00
Frederik Rietdijk
3f08495212
Merge pull request #108022 from siraben/cmake-native-build-inputs
[staging] treewide: cmake buildInputs to nativeBuildInputs, minor cleanups
2021-01-01 10:54:25 +01:00
Frederik Rietdijk
136c0d01d2 autoconf: use buildPackages when overriding version
to fix cross

Like bf46afde6b
2021-01-01 10:50:13 +01:00
Daniël de Kok
4df737c880
Merge pull request #108029 from danieldk/brave-update-script
brave: add update script
2021-01-01 10:06:19 +01:00
Rouven Czerwinski
b5a0c7466c chiaki: fix build on darwin
Darwin requires qtmacextra in the buildInputs, otherwise compilation
fails with:

  CMake Error at /nix/store/05nmn6v1hrk56zqs61s2awvykha51fx9-qtbase-5.12.7-dev/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
    By not providing "FindQt5MacExtras.cmake" in CMAKE_MODULE_PATH this project
    has asked CMake to find a package configuration file provided by
    "Qt5MacExtras", but CMake did not find one.

    Could not find a package configuration file provided by "Qt5MacExtras" with
    any of the following names:

      Qt5MacExtrasConfig.cmake
      qt5macextras-config.cmake

    Add the installation prefix of "Qt5MacExtras" to CMAKE_PREFIX_PATH or set
    "Qt5MacExtras_DIR" to a directory containing one of the above files.  If
    "Qt5MacExtras" provides a separate development package or SDK, be sure it
    has been installed.
  Call Stack (most recent call first):
    gui/CMakeLists.txt:7 (find_package)

  -- Configuring incomplete, errors occurred!
  See also "/tmp/nix-build-chiaki-2.0.1.drv-0/chiaki/build/CMakeFiles/CMakeOutput.log".
2021-01-01 09:53:27 +01:00
Rouven Czerwinski
4d461177a7 chiaki: add DualShock4 touchpad support
Chiaki supports the touchpad on DualShock4 controllers when they are
connected via USB and requires libevdev & udev for this. Add both
libraries if chiaki is to be built for a Linux host.
2021-01-01 09:52:42 +01:00
Doron Behar
d4a76b1f5f
Merge pull request #106688 from alyssais/autoconf-license
autoconf: license is GPLv3+
2021-01-01 10:02:57 +02:00
Doron Behar
04ea3b4eb9
Merge pull request #106682 from snicket2100/parsimonius-exclude-performance-tests
parsimonious: excluding unpredictable tests
2021-01-01 09:56:00 +02:00
Doron Behar
f0faa10d8a
Merge pull request #106403 from charles-dyfis-net/desync-0.9.0 2021-01-01 09:51:52 +02:00
Jörg Thalheim
60c6607dc8
Merge pull request #107906 from Mic92/wordcloud
python3.pkgs.wordcloud: 1.6.0 -> 1.8.1
2021-01-01 07:21:11 +00:00
github-actions[bot]
645e99f891
Merge staging-next into staging 2021-01-01 06:22:43 +00:00