Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Rammhold fe13d37c7e pythonPackages.python-levenshtein: 0.12.0 -> 0.12.1
This fixes a potential segfault on 32bit machines when the input string
causes some 32 bit size calculations (on size_t) to overflow.

See https://github.com/ztane/python-Levenshtein/issues/62 for details.
2021-02-01 14:05:52 +01:00
Andreas Rammhold ad5f23870c Merge pull request #110847 from andir/docker-overrides
docker: allow overriding package inputs per docker package
2021-02-01 00:55:22 +01:00
44b07653bd gtk4: init at 4.0.2
Major API change; adds multimedia and 3D graphics widgets.

Changes:
- https://gitlab.gnome.org/GNOME/gtk/-/blob/4.0.2/NEWS
- https://blog.gtk.org/2020/12/16/gtk-4-0/

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Co-authored-by: Tad Fisher <tadfisher@gmail.com>
2021-01-31 22:22:14 +01:00
Andreas Rammhold ed46383416 docker: allow overriding package inputs per docker package
Previously we could not override the input packages to docker at all as
that had been shadowed due to the usage of inherit in all-package.nix.

We are now mixing the "variable" variables for the build and the
dependency declarations for the package and using callPackage as if each
of the docker packages would be separate files that we evaluate.

This now enables overriding e.g. iptables for a single verison of
docker which previously was not feasible without importing the
default.nix again (and passing different arguments).

> pkgs.docker.override { iptables = pkgs.iptables-nftables-compat; }
2021-01-26 13:08:25 +01:00
Andreas Rammhold 59e73f20ad Merge pull request #94370 from bb2020/qemu
pkgs/qemu: add qemu_full package
2021-01-26 10:19:38 +01:00
Andreas Rammhold 3be09b94fb Merge pull request #108860 from endocrimes/dani/fix-tmp
modules/boot: Specify the type for tmpfs mounts
2021-01-15 00:31:14 +01:00
Andreas Rammhold e1684ef555 pcsc-cyberjack: fix compilation with gcc10
The change to GCC 10 did break this package as it does some conversation
from 32bit integer to the type "int" which might be "narrower" depending
on the platform. By default GCC 10 errors in these cases. Since this
code is fine (and has been for a long time) it is okay to disable the
error in this case.
2021-01-09 12:53:24 +01:00
Andreas Rammhold f41f0643f8 Merge pull request #107936 from andir/ml2pr/hoogle-set-the-host-to-bind-on
hoogle: set the host to bind on
2021-01-06 12:31:59 +01:00
Andreas Rammhold 653f805f09 nixos/tests/dovecot: enable dovecot_pigeonhole plugin
This plugin is used commonly enough that we should ensure it still
builds (and dovecot works) after loading it.

This is not yet perfect as we aren't testing any of it's functionality
but at least we ensure that dovecot continues to do the regular job.
2021-01-04 18:17:26 +01:00
Andreas Rammhold bedb3528b6 dovecot_pigeonhole: 0.5.11 -> 0.5.13
This updates to the latest version. According to the changelog 0.5.12
was skipped. The changes in this release are required to be compatible
with the latest dovecot release.

Changes:
  - duplicate: The test was handled badly in a multiscript (sieve_before,
    sieve_after) scenario in which an earlier script in the sequence with
    a duplicate test succeeded, while a later script caused a runtime
    failure. In that case, the message is recorded for duplicate tracking,
    while the message may not actually have been delivered in the end.
  - editheader: Sieve interpreter entered infinite loop at startup when
    the "editheader" configuration listed an invalid header name. This
    problem can only be triggered by the administrator.
  - relational: The Sieve relational extension can cause a segfault at
    compile time. This is triggered by invalid script syntax. The segfault
    happens when this match type is the last argument of the test command.
    This situation is not possible in a valid script; positional arguments
    are normally present after that, which would prevent the segfault.
  - sieve: For some Sieve commands the provided mailbox name is not
    properly checked for UTF-8 validity, which can cause assert crashes at
    runtime when an invalid mailbox name is encountered. This can be
    caused by the user by writing a bad Sieve script involving the
    affected commands ("mailboxexists", "specialuse_exists").
    This can be triggered by the remote sender only when the user has
    written a Sieve script that passes message content to one of the
    affected commands.
  - sieve: Large sequences of 8-bit octets passed to certain Sieve
    commands that create or modify message headers that allow UTF-8 text
    (vacation, notify and addheader) can cause the delivery or IMAP
    process (when IMAPSieve is used) to enter a memory-consuming
    semi-infinite loop that ends when the process exceeds its memory
    limits. Logged in users can cause these hangs only for their own
    processes.
2021-01-04 17:59:57 +01:00
Andreas Rammhold 4fee20e267 dovecot: add the dovecot NixOS test to passthru.tests
While we already had some test we might as well add the test for that
exact package to the tests attribute set. After all that should be what
(primarily) tests dovecot.
2021-01-04 17:45:28 +01:00
Andreas Rammhold 58c7d3ff17 dovecot: 2.3.11.3 -> 2.3.13
This fixes CVE_2020-24386, CVE-2020-25725 and a bunch of regular bugs
[1].

* CVE-2020-24386: Specially crafted command can cause IMAP hibernate to
	  allow logged in user to access other people's emails and filesystem
	  information.

* CVE-2020-25275: Mail delivery / parsing crashed when the 10 000th MIME part was
  message/rfc822 (or if parent was multipart/digest). This happened
  due to earlier MIME parsing changes for CVE-2020-12100.

[1] https://raw.githubusercontent.com/dovecot/core/2.3.13/NEWS
2021-01-04 17:37:32 +01:00
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
Andreas Rammhold a44aec2b1b lib/systems/platforms: treat missing cpu version as generic pcBase
Since 40e7be1 all ARM platforms that didn't have a parsed cpu version
(e.g. arm-none-eabi) would be handled as armv7l-hf-multiplatform which
did break building arm-trusted-platform packages for some targets (e.g.
rk3399).

Using pcBase as fallback, instead of armv7l-hf-multiplatform,
corresponds with the behaviour we had before 40e7be1.
2020-12-31 00:12:07 +01:00
Andreas Rammhold 0f12442fb3 Merge pull request #106993 from andir/ml2pr/notcurses-init-at-2-1-0
notcurses: init at 2.1.0
2020-12-30 13:14:06 +01:00
Andreas Rammhold 097d6d36de Merge pull request #107002 from euank/syncplay-167
syncplay: 1.6.6 -> 1.6.7
2020-12-19 02:28:28 +01:00
Andreas Rammhold fa0d499dbf Merge pull request #106995 from andir/ml2pr/PATCH-nixos-users-groups-createHome-Ensure-HOME-permissions-fix-description
nixos/users-groups: createHome: Ensure HOME permissions, fix description
2020-12-17 17:23:46 +01:00
Andreas Rammhold 3bc15cbb55 Merge pull request #106996 from andir/ml2pr/PATCH-wireshark-Do-PATH-lookup-in-wireshark-desktop-instead-of-hardcoding-derivation
wireshark: Do $PATH lookup in wireshark.desktop instead of hardcoding derivation
2020-12-16 15:07:02 +01:00
Andreas Rammhold 71191178e6 Merge PR #106881 2020-12-14 22:08:14 +01:00
Andreas Rammhold 0ea05f401f pyqt: 5.15.1 -> 5.15.2
This keeps the PyQt5 version in sync with the Qt release. While it is
apparently not strictly required it is probably not the worst idea to do
this.
2020-12-11 04:31:24 +01:00
Andreas Rammhold ab8dffab29 kdeFrameworks.kpurpose: add patch required with Qt5 5.15.2
Qt 5.15 carried a change that renamed a getter for the socket error. In
a later relase that change was reverted (to be less ambiguous) thus now
 those that had picked up the change in API had to change their code.
 This has now been reverted [0] and thus the consumers also have to
 revert their changes…

[0] https://codereview.qt-project.org/c/qt/qtbase/+/289693
2020-12-11 04:31:24 +01:00
Andreas Rammhold 4778f510a4 tldextract: add missing filelock dependency
As of version 3.0.0 tldextract requires filelock during runtime. [0] In
nixpkgs tldextract was bumped from version 2.2.3 to 3.1.0 in
5b2d82451f without actually updating the
dependencies breaking packages such as qutebrowser.

This fix is part of this series to verify that bumping qt5 to 5.15.2
actually fixes the crash caused by WebRTC [1].

[0] https://github.com/john-kurkowski/tldextract/commit/2eba0e5ebd02adf9e382523c7c84b86c7f2656f7
[1] https://bugreports.qt.io/browse/QTBUG-86752
2020-12-11 04:31:24 +01:00
Andreas Rammhold 0263f626a0 qt-5: 5.15.0 -> 5.15.2
This is a maintenance release of the Qt 5.15 release series. It focuses on
bug and security fixes. The feature that made me update this package was
the broken u2f support in QtWebEngine when used together with
Qutebrowser. It previously (on older Qt versions) used to work but
stopped working with the switch to 5.15.

As the changelog is rather extensive the reader is advised to inspect
[0] to checkout the changes to each of the components of their
interest.

This also fixes a security issue with QtWebEngine based browsers that
could be crashed by visiting a website that invokes certain WebRTC
features [1].

[0] https://wiki.qt.io/Qt_5.15.2_Change_Files
[1] https://bugreports.qt.io/browse/QTBUG-86752
2020-12-11 04:31:24 +01:00
Andreas Rammhold 29e607d041 rust-cbindgen: drop my maintainership
I only picked this up as a result of caring for Firefox. I am not
interested in this anymore.
2020-12-06 21:24:50 +01:00
Andreas Rammhold 7560a94bd1 google-cloud-cpp: drop maintainership
I am not using this anymore and do not plan to work on this package
anylonger.
2020-12-06 21:24:50 +01:00
Andreas Rammhold dc6971ccf9 firefox: drop maintainership
After the recent wrapper and plugin purge outbreak where as the only
active listed maintainer of the package I didn't even get a chance to
comment (e.g. via comment or review request) I do not want to continue
maintaining this package anymore.
2020-12-06 21:24:50 +01:00
Andreas Rammhold 7e5c64df85 spotifyd: workaround panic with older rust version
rust >= 1.48 causes a panic within spotifyd on music playback. As long
as there is no upstream fix for the issue we use an older version of
rust.

Upstream issue: https://github.com/Spotifyd/spotifyd/issues/719
2020-12-06 11:00:42 +01:00
Andreas Rammhold 81b2a9c9d4 Merge pull request #88720 from KoviRobi/guile-compiled-path
Guile setup hook, use compiled files
2020-12-02 13:22:10 +01:00
Andreas Rammhold f17006459c Merge pull request #105568 from lukegb/nixpkgs-cacert-blacklist
cacert: fix certificate denylist
2020-12-01 20:11:55 +01:00
Andreas Rammhold 26cc536edf Merge pull request #104203 from andir/saned-max-connections
nixos/sane: bump the MaxConnections to a reasonable amount
2020-12-01 19:45:13 +01:00
Andreas Rammhold 17b1bde9c5 cacert: add myself as maintainer 2020-12-01 17:51:05 +01:00
Andreas Rammhold 96663ea477 Merge pull request #104785 from Xe/patch-3
nixos/modules/tailscale: add package as an option
2020-12-01 12:52:41 +01:00
Andreas Rammhold c3452dae0e Merge pull request #105498 from raboof/git-reproducible-docs
git: make manual reproducible
2020-12-01 10:30:05 +01:00
Andreas Rammhold eb1cd583f0 Merge pull request #105437 from andir/firefox-aarch64
firefox: fix aarch64 build
2020-12-01 01:18:37 +01:00
Andreas Rammhold c588499fbb Merge pull request #104458 from redvers/update_botan_2.7_to_2.9
botan2: update 2.7.0 -> 2.9.0
2020-11-30 16:45:43 +01:00
Andreas Rammhold 13481f2a56 Merge pull request #104385 from mweinelt/musl
musl: patch CVE-2020-28928
2020-11-30 16:32:12 +01:00
Andreas Rammhold 76587f2c1a Merge pull request #105287 from mweinelt/libproxy
libproxy: fix CVE-2020-25219, CVE-2020-26154
2020-11-30 16:21:11 +01:00
Andreas Rammhold afcbecc144 firefox: remove unused "imports"
These haven't been used in some time and there is no point in keeping
them around. They just clutter the file right now.
2020-11-30 10:26:45 +01:00
Andreas Rammhold cdff2a832c firefox: add aarch64 SIMD patch
This patch fixes compilation on aarch64 that broke somewhere between the
upgrade to the lateste rustc and the firefox 82 to 83 upgrade.

The patch has been submitted upstream and can probably be removed on the
next version bump.
2020-11-30 10:24:46 +01:00
Andreas Rammhold 1d0225adc0 firefox: move the no-buildconfig-ffx76 patch into common
This patch has been used on all our flavors for some time now. We can
just move it to the common expression.
2020-11-30 10:09:05 +01:00
Andreas Rammhold 9ea8fd6df1 Merge pull request #104841 from redvers/update_cassandra_3.0.17_to_3.0.23_cve-2020-13946
cassandra_3_0: 3.0.17 -> 3.0.23
2020-11-28 16:43:03 +01:00
Andreas Rammhold 25d7bcc95c Merge pull request #103951 from stigtsp/package/firefox-beta-bin-83.0b10
firefox-beta-bin: 81.0b4 -> 84.0b4, firefox-devedition-bin: 80.0b8 -> 84.0b4
2020-11-25 15:49:14 +01:00
Andreas Rammhold 2bfa21205a packet-sd: init at 0.0.3
This is currently being used as part of the NixOS.org infrastructure [1]
and should probably be included here and not just "downstream" (in the
nixops configs).

[1] https://github.com/NixOS/nixos-org-configurations/blob/26105e7afac604d3e02f68e3985830dce21c405d/delft/prometheus/packet-sd.nix
2020-11-21 20:34:17 +01:00
Andreas Rammhold 3f2c5cfaee Merge pull request #104049 from stigtsp/package/firefox-bin-83.0
firefox-bin: 82.0.3 -> 83.0
2020-11-19 10:56:22 +01:00
Andreas Rammhold a322b32e9d thunderbird: use nss_3_53 instead of nss
This fixes up the changes done in #104176 where I forgot to include this
now required change.
2020-11-19 01:15:20 +01:00
Andreas Rammhold 278b273d9a Merge pull request #102251 from andir/random-seed
stdenv: introduce -frandom-seed
2020-11-19 01:07:28 +01:00
Andreas Rammhold e5f945b13b Merge pull request #104176 from andir/firefox-83
firefox: 82.0.3 -> 83.0, firefox-esr: 78.4.1esr -> 78.5.0esr, nss: 3.56 -> 3.58, cacert refactor
2020-11-19 00:47:04 +01:00
Andreas Rammhold 6f7d8e5528 nixos/sane: bump the MaxConnections to a reasonable amount
Whenever I try to scan from another computer it has to establish >2
connections in order to succeed. With the connections being limited to 1
I can not scan any document.

This is also what other distributions ([Debian], [ArchLinux], …) have
done in one way or another.

[Debian]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850649#5
[ArchLinux]: no limit: https://github.com/archlinux/svntogit-packages/blob/99cba454bb0b69034bc45e97cde4a460bccfef4b/trunk/saned.socket#L4
2020-11-18 20:25:44 +01:00
Andreas Rammhold ccb42da9a9 firefox-esr-78: 78.4.1esr -> 78.5.0esr 2020-11-18 20:13:23 +01:00
Andreas Rammhold fddfa3915c firefox: 82.0.3 -> 83.0 2020-11-18 20:13:23 +01:00
Andreas Rammhold 6c33216fcb nss: 3.57 -> 3.58
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.58_release_notes
2020-11-18 20:13:23 +01:00
Andreas Rammhold c1cfe8b84e firefox: fallback to nss_3_53 when version is below 83 2020-11-18 20:13:23 +01:00
Andreas Rammhold cbd0f8931c nss_3_53: init 2020-11-18 20:13:23 +01:00
Andreas Rammhold 398cdab5ce firefox: prepare pipewire patches for firefox 83 2020-11-18 20:13:23 +01:00
Andreas Rammhold 94448baf6d cacert: decouple from NSS to reduce rebuild amount
In [#100765] @vcunat pointed out that we could decouple cacert from the
NSS package to make it more rebuild friendly. Just rebuilding packages
that depend on NSS seems to be about ~100. Rebuilding all the packages
that depend on cacert is >9k as of this writing. This makes it much more
feasible to upgrade high-profile packages that are (rightfully) pedantic
on their NSS version like firefox and thunderbird.

[#100765]: https://github.com/NixOS/nixpkgs/pull/100765
2020-11-18 20:13:22 +01:00
Andreas Rammhold 48d4b84f40 Merge pull request #104027 from cole-h/crate2nix
crate2nix: init at 0.8.0
2020-11-17 22:23:27 +01:00
Andreas Rammhold ad37c2c445 Merge pull request #102916 from andir/nixos-help
nixos-help: fixup .desktop file & smaller refactoring
2020-11-16 12:17:28 +01:00
Andreas Rammhold d93868a92b firefox-esr: 78.4.0esr -> 78.4.1esr 2020-11-15 14:36:01 +01:00
Andreas Rammhold 046002f472 firefox: 82.0.2 -> 82.0.3 2020-11-15 14:36:01 +01:00
Andreas Rammhold 7a5047bede ubootRockPi4: init
This adds support for the Radxa Rock Pi 4 board which is based on
RK3399. The u-boot outputs from the introduced build are suitable to
build a generic image for the Rock Pi 4 by setting the following in a
custom build of $nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix:

```
  sdImage.postBuildCommands = ''
    dd if=${pkgs.ubootRockPi4}/idbloader.img of=$img seek=64 conv=notrunc
    dd if=${pkgs.ubootROckPi4}/u-boot.itb of=$img seek=16384 conv=notrunc
  '';
```
2020-11-14 02:25:41 +01:00
Andreas Rammhold df620fd81a Merge pull request #103637 from mweinelt/intelMicrocode
microcodeIntel: 20201110 -> 20201112
2020-11-13 15:20:50 +01:00
Andreas Rammhold 4acaee2cb1 Merge pull request #103450 from mweinelt/intel-microcode
microcodeIntel: 20200616 -> 20201110
2020-11-12 17:12:55 +01:00
Andreas Rammhold 9a01e97824 nixos-help: bundle the desktop item with the script
This is to ensure that whenever we install the desktop item we also have
the script installed. Prior to b02719a we always had the reference to
the script in the desktop item. Since desktop items are being copied to
home directories and thus "bit rod" over time that absolute path was
removed.
2020-11-05 11:56:31 +01:00
Andreas Rammhold 3560f0d913 nixos-help: use writeShellScriptBin and drop custom shebang line 2020-11-05 11:47:14 +01:00
Andreas Rammhold 4d563ba7ef zoneminder: 1.34.16 -> 1.34.22 2020-11-04 14:24:09 +01:00
Andreas Rammhold db530f4490 i3status-rust: add missing ethtool and notmuch buildInputs
i3status-rust requires `ethtool` for the net block to work since 0.14.2.
The notmuch feature is also available and all we've to do for that is to
pass the `notmuch` input and enable the feature.
2020-11-03 22:47:36 -08:00
Andreas Rammhold 8222839796 Merge pull request #102643 from mweinelt/salt
salt: 3002 -> 3002.1
2020-11-03 19:39:29 +01:00
Andreas Rammhold 5903ea5395 nixos/unbond: unbound should be required for nss-lookup.target
Other units depend on nss-lookup.target and expect the DNS resolution to
work once that target is reached. The previous version
`wants=nss-lookup.target` made this unit require the nss-lookup.target
to be reached before this was started.

Another change that we can probalby do is drop the before relationship
with the nss-lookup.target. That might just be implied with the current
version.
2020-11-03 19:21:39 +01:00
Andreas Rammhold 5c16c31e06 nixos/unbound: add release notes for the changes that were introduced
As part of this patch series a few changes have been made to the unbound
serivce the deserve proper documentation.
2020-11-03 19:21:25 +01:00
Andreas Rammhold 2aa64e5df5 nixos/unbound: add option to configure the local control socket path
This option allows users to specify a local UNIX control socket to
"remote control" the daemon. System users, that should be permitted to
access the daemon, must be in the `unbound` group in order to access the
socket. When a socket path is configured we are also creating the
required group.

Currently this only supports the UNIX socket mode while unbound actually
supports more advanced types. Users are still able to configure more
complex scenarios via the `extraConfig` attribute.

When this option is set to `null` (the default) it doesn't affect the
system configuration at all. The unbound defaults for control sockets
apply and no additional groups are created.
2020-11-03 19:21:25 +01:00
Andreas Rammhold b67cc6298e nixos/tests/unbound: add test to verify control sockets work 2020-11-03 19:21:24 +01:00
Andreas Rammhold a040a8a2e3 nixos/tests/unbound: init 2020-11-03 19:21:24 +01:00
Andreas Rammhold aadc07618a nixos/unbound: drop ReadWritePaths from systemd unit configuration
Both of the configured paths should be implicit due to RuntimeDirectory
& StateDirectory.
2020-11-03 19:21:24 +01:00
Andreas Rammhold 72fbf05c17 nixos/unbound: note about the AmbientCapabilities 2020-11-03 19:21:24 +01:00
Andreas Rammhold 5e602f88d1 nixos/modules/services/networking/unbound: update systemd unit
Previously we just applied a very minimal set of restrictions and
trusted unbound to properly drop root privs and capabilities.

With this change I am (for the most part) just using the upstream
example unit file for unbound. The main difference is that we start
unbound was `unbound` user with the required capabilities instead of
letting unbound do the chroot & uid/gid changes.

The upstream unit configuration this is based on is a lot stricter with
all kinds of permissions then our previous variant. It also came with
the default of having the `Type` set to `notify`, therefore we are also
using the `unbound-with-systemd` package here. Unbound will start up,
read the configuration files and start listening on the configured ports
before systemd will declare the unit "running". This will likely help
with startup order and the occasional race condition during system
activation where the DNS service is started but not yet ready to answer
queries.

Aditionally to the much stricter runtime environmet I removed the
`/dev/urandom` mount lines we previously had in the code (that would
randomly fail during `stop`-phase).

The `preStart` script is now only required if we enabled the trust
anchor updates (which are still enabled by default).

Another beneefit of the refactoring is that we can now issue reloads via
either `pkill -HUP unbound` or `systemctl reload unbound` to reload the
running configuration without taking the daemon offline. A prerequisite
of this was that unbound configuration is available on a well known path
on the file system. I went for /etc/unbound/unbound.conf as that is the
default in the CLI tooling which in turn enables us to use
`unbound-control` without passing a custom configuration location.
2020-11-03 19:21:24 +01:00
Andreas Rammhold be6e50a3ae Merge pull request #99959 from helsinki-systems/upd/openssh
[staging] openssh: 8.3p1 -> 8.4p1
2020-11-03 16:00:31 +01:00
Andreas Rammhold f6d570b258 unbound-with-systemd: init
This introduces an unbound variant that is built with systemd support.
That means it is able to signal readiness to systemd once it did start
or finished reloading. This likely allows us to close a small gap during
bootup where the service is assumed up but doesn't respond to DNS
queries just yet.
2020-11-03 13:15:54 +01:00
Andreas Rammhold c07ce093ec unbound: allow building with systemd support
Systemd has to remain an optional (non-default) dependency as otherwise
we will have an unpleasant bootstrap cycle. Most (if not all) of the
(lib)unbound consumers will likely not care about unbound's systemd
integration that only affects the daemon mode, anyway.
2020-11-03 13:15:53 +01:00
Andreas Rammhold 2ba1c007f6 Merge pull request #102350 from andir/nixos-test-prometheus
nixos/tests/prometheus: remove invalid thanos config flag
2020-11-01 19:45:00 +01:00
Andreas Rammhold 83f0bccc89 stdenv: add -frandom-seed to NIX_CFLAGS_COMPILE for reproducibility
This adds -frandom-seed to each compiler invocation in stdenv. The
object here is to make the compierl invocations produce the same output
every time they are called (for the same derivation). When the
-frandom-seed option is not set the compiler will use a combination of
random numbers (in GCC's case from /dev/urandom) and the durrent time to
produce a "random" input per file. This can (among other things) lead to
different ordering of symbols in the produced object files.

For reason of reproducibility we prefer having the same derivation
produce the exact same outputs. This is not a silver bullet but one way
to tame the compiler.
2020-11-01 19:40:12 +01:00
Andreas Rammhold df2d47cd39 Merge pull request #102266 from NixOS/firefox-82.02
firefox{,-bin}: 80.0 -> 80.0.2
2020-11-01 19:34:37 +01:00
Andreas Rammhold e4865130cf nixos/tests/prometheus: remove invalid thanos config flag
Upstream has apparently changed the configuration format and is now
throwing an error when the `encrypt_sse` option is set. According to the
current version of the documentation encryption moved to the
`sse_config` option that (is optional and) offers all the features we do
not use or care about for this test.
2020-11-01 14:33:11 +01:00
Andreas Rammhold 5219a3ade1 rsync: disable the bundled zlib explicitly
We've been providing zlib as a buildInput for some time now but rsync
still builds (& links) it's own copy of zlib unless we disable it
explicitly. This cuts down on compilation time but otherwise shouldn't
have any side effects.
2020-11-01 12:51:02 +01:00
Andreas Rammhold fd0b3839b2 Merge pull request #102249 from rnhmjoj/firefox-audio
nixos/tests/firefox: add audio subtest
2020-10-31 21:23:10 +01:00
Andreas Rammhold fdbdd72f5f firefox-bin: 82.0 -> 82.0.2 2020-10-31 19:53:34 +01:00
Andreas Rammhold f4490bb28a firefox: 82.0 -> 82.0.2 2020-10-31 19:34:23 +01:00
Andreas Rammhold b64d91e92e promscale: 0.1.0 -> 0.1.1
Changelog:
 - Add QueryRow to our connection interface
 - Add SQL API for managing metric compression setting
 - Add code documentation for query/read path of the connector
 - Adds support for checking pg version on startup
 - BUGFIX reset pendingBuffer epoch when we're done
 - Epoch-Based cache validation
 - First pass documenting the write path
 - Fix bug with deletion of metric name labels.
 - Fix erroneous PromQL query in end-to-end tests
 - Fix error reporting to prevent panic
 - Fix golden file tests
 - Fix logging output to match rest of the project
 - Fix views on Vanilla PG and add tests
 - Make example docker-compose clearer (#305)
 - Mask password while printing config
 - Prepare for the 0.1.1 release
 - Prepare for the next development cycle
 - REFACTOR rearrange mocks
 - REFACTOR switch TestPGXInserterInsertData to the new mock
 - REFACTOR switch TestPGXInserterInsertSeries to the new mock
 - Start a pgmodel Readme

Source: https://github.com/timescale/promscale/releases/tag/0.1.1
2020-10-29 10:02:35 +01:00
Andreas Rammhold f715602feb Revert "openblas: 0.3.10 -> 0.3.12"
This reverts commit e1a59dddd0. Testing
the PR succeeded for me as The previously half-done changes were already
reverted without me merging.
2020-10-28 10:00:54 +01:00
Andreas Rammhold 840c20169e Merge pull request #101715 from r-ryantm/auto-update/openblas
openblas: 0.3.10 -> 0.3.12
2020-10-28 09:57:20 +01:00
Andreas Rammhold db0fe5c3eb Merge branch master into staging to fix eval error
This fixes the eval error of the small (and "big"?) NixOS test set that
was fixed in 1088f05 & eba8f542.
2020-10-28 03:03:27 +01:00
Andreas Rammhold c127653b72 Merge pull request #101887 from jonringer/minor-release-notes-adjustment
nixos/docs/rl-2009.xml: grafana: description, example agreement
2020-10-28 02:38:55 +01:00
Andreas Rammhold 05e1e75e26 Merge pull request #101867 from mweinelt/blueman
blueman: 2.1.3 -> 2.1.4
2020-10-28 01:39:46 +01:00
Andreas Rammhold 5d03fe6ac4 Merge pull request #101792 from flokli/systemdminimal-without-glib
systemdMinimal: build without glib
2020-10-27 20:00:18 +01:00
Andreas Rammhold 1dc37370c4 Merge pull request #101805 from andir/unbreak-tarball-job
nixos/tests: fix wrong inherit that passes on the nodes attrs
2020-10-27 01:29:36 +01:00
Andreas Rammhold eba8f5425f nixos/tests: fix wrong inherit that passes on the nodes attrs
The hydra tarball step would fail due to the nodes attribute not being
properly inherited. Since we can't execute all the tests and release
steps locally anymore (thanks to the JSONification and faster hydra
eval) these errors will probably keep in appearing.

This is hopefully the last of those introduced by me test runner
refactoring.

Error was seen on hydra (https://hydra.nixos.org/build/129282411):
> unpacking sources
> unpacking source archive /nix/store/bp95x52h6nv3j8apxrryyj2rviw682k1-source
> source root is source
> patching sources
> autoconfPhase
> No bootstrap, bootstrap.sh, configure.in or configure.ac. Assuming this is not an GNU Autotools package.
> configuring
> release name is nixpkgs-21.03pre249116.1088f059401
> git-revision is 1088f05940
> building
> no Makefile, doing nothing
> running tests
> warning: you did not specify '--add-root'; the result might be removed by the garbage collector
> warning: you did not specify '--add-root'; the result might be removed by the garbage collector
> checking Nixpkgs on i686-linux
> checking Nixpkgs on x86_64-linux
> checking Nixpkgs on x86_64-darwin
> checking eval-release.nix
> trace: `mkStrict' is obsolete; use `mkOverride 0' instead.
> trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
> trace: warning: lib.readPathsFromFile is deprecated, use a list instead
> trace: Warning: `showVal` is deprecated and will be removed in the next release, please use `traceSeqN`
> trace: lib.zip is deprecated, use lib.zipAttrsWith instead
> checking find-tarballs.nix
> trace: `mkStrict' is obsolete; use `mkOverride 0' instead.
> trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
> trace: warning: lib.readPathsFromFile is deprecated, use a list instead
> trace: Warning: `showVal` is deprecated and will be removed in the next release, please use `traceSeqN`
> trace: lib.zip is deprecated, use lib.zipAttrsWith instead
> error: while evaluating anonymous function at /build/source/maintainers/scripts/find-tarballs.nix:6:1, called from undefined position:
> while evaluating 'operator' at /build/source/maintainers/scripts/find-tarballs.nix:27:16, called from undefined position:
> while evaluating 'immediateDependenciesOf' at /build/source/maintainers/scripts/find-tarballs.nix:39:29, called from /build/source/maintainers/scripts/find-tarballs.nix:27:44:
> while evaluating anonymous function at /build/source/lib/attrsets.nix:234:10, called from undefined position:
> while evaluating anonymous function at /build/source/maintainers/scripts/find-tarballs.nix:40:37, called from /build/source/lib/attrsets.nix:234:16:
> while evaluating 'derivationsIn' at /build/source/maintainers/scripts/find-tarballs.nix:42:19, called from /build/source/maintainers/scripts/find-tarballs.nix:40:40:
> while evaluating 'canEval' at /build/source/maintainers/scripts/find-tarballs.nix:48:13, called from /build/source/maintainers/scripts/find-tarballs.nix:43:9:
> while evaluating the attribute 'nodes' at /build/source/nixos/lib/testing-python.nix:195:23:
> attribute 'nodes' missing, at /build/source/nixos/lib/testing-python.nix:193:16
> build time elapsed:  0m0.122s 0m0.043s 17m51.526s 0m56.668s
> builder for '/nix/store/96rk3c74vrk6m3snm7n6jhis3j640pn4-nixpkgs-tarball-21.03pre249116.1088f059401.drv' failed with exit code 1
2020-10-27 00:10:31 +01:00
Andreas Rammhold 1088f05940 Merge pull request #101598 from andir/nixos-build-vms-qemu
nixos/tests: follow-up to the closure reduction PR
2020-10-26 14:19:45 +01:00
Andreas Rammhold d4fb7daafd nixos-build-vms: use the driverInteractive attribute instead
This reverts commit aab534b894 & uses the
driverInteractive attribute for the test driver instead.

This has the same effect but removes the extra module in the
nixos-build-vms code.
2020-10-25 20:14:53 +01:00
Andreas Rammhold 73635b859d nixos/tests: fix runInMachine
In 5500dc8 we introduced the --keep-vm-state flag and defaulted to that
flag not being set. This lead to the `runInMachine` tests not longer
working and that going unnoticed for quite some time now.
2020-10-25 20:09:33 +01:00