Commit Graph
100 Commits
Author SHA1 Message Date
Michael Weiss 8ee8a22e35 signal-desktop: 1.34.1 -> 1.34.2 2020-06-12 00:57:56 +02:00
Michael Weiss e466ea721c chromium{Beta,Dev}: Fix the builds
Fix #89615.
2020-06-10 11:23:14 +02:00
Michael Weiss a1aecffc97 tdesktop: 2.1.10 -> 2.1.11 2020-06-09 18:34:08 +02:00
Michael Weiss e0c970c0e2 Merge pull request #89820 from primeos/linux_5_7
linux_5_7: init at 5.7.1
2020-06-09 15:56:50 +02:00
Michael Weiss 551a9887e2 hardenedLinuxPackagesFor: Make it possible to delay major updates
This adds an abstraction/hack to update the latest hardened kernel
independent of linux_latest, which is required as the hardened patches
aren't immediately available ([0] currently doesn't exist).
Currently the Linux hardened patches aren't even available for 5.7 which
was released on 2020-05-31 (already 9 days ago!).
Therefore it is required to keep both linuxPackages_latest_hardened and
linuxPackages_latest_xen_dom0_hardened at 5.6 until the patches for 5.7
are released.

This abstraction makes that task more manageable but we should aim for a
better solution to resolve this or at least a cleaner and more robust
implementation (in the sense of better error messages).

[0]: https://github.com/anthraxx/linux-hardened/releases/tag/5.7.1.a
2020-06-09 15:39:32 +02:00
Michael Weiss 1d38f6bcb2 chromiumBeta: Fix the configuration phase
The changes from chromiumDev (see 029a5de083) are required for
chromiumBeta as well.
2020-06-09 13:53:47 +02:00
Michael Weiss 19b2efbc39 linux_5_7: init at 5.7.1
Changes:
- Copied linux-5.7.nix from linux-5.6.nix
- Add linux_5_7 and linuxPackages_5_7
- Update linux_latest to 5.7

Note:
The kernel patch 'kernelPatches.export_kernel_fpu_functions."5.3"' is
still applied as I copied the list from linux_5_7 (vs. linux_testing).
This patch is probably still required for the ZFS performance.
2020-06-08 17:44:36 +02:00
Michael Weiss 029a5de083 chromiumDev: Fix the configuration phase
Relevant changes in M85:
- Upstream switched from YASM to NASM [0].
- third_party/binutils was removed [1].

Note: The gn and dev channel updates are optional.
cc #89615.

[0]: https://bugs.chromium.org/p/chromium/issues/detail?id=766721
[1]: https://github.com/chromium/chromium/commit/9869e86fd9079a6ab4ea23aa03d724580678b356
2020-06-06 19:38:53 +02:00
Michael Weiss 19e939d98e chromiumBeta: Fix the source hash
For some reason the hash from 9ec139b672 became invalid, see #89615.
The update script does now produce the correct hash.
2020-06-06 13:36:09 +02:00
Michael Weiss 7ef22b9ff1 tdesktop: 2.1.7 -> 2.1.10 2020-06-05 21:55:05 +02:00
Michael Weiss 5e60482a1a Merge pull request #89411 from primeos/python-google-api-client
python: Google API updates (google_{auth,api_core,api_python_client})
2020-06-05 21:03:19 +02:00
Michael Weiss aaa69a98df Merge pull request #89495 from primeos/chromium
chromium: 83.0.4103.61 -> 83.0.4103.97
2020-06-05 20:40:03 +02:00
Michael Weiss 9ec139b672 chromium: 83.0.4103.61 -> 83.0.4103.97
https://chromereleases.googleblog.com/2020/06/stable-channel-update-for-desktop.html

This update includes 5 security fixes.

CVEs: CVE-2020-6493 CVE-2020-6494 CVE-2020-6495 CVE-2020-6496
2020-06-04 20:26:31 +02:00
Michael Weiss a448d9156b Merge pull request #89407 from primeos/empty-hostname-fix
nixos: Allow empty hostnames again
2020-06-03 16:18:28 +02:00
Michael Weiss 8a9cbdb549 tev: 1.15 -> 1.16 2020-06-03 16:13:07 +02:00
Michael Weiss 52c6501e6e python3Packages.google_auth: 1.11.3 -> 1.16.0 2020-06-03 15:58:51 +02:00
Michael Weiss 86ae3d03ab python3Packages.google_api_core: 1.16.0 -> 1.17.0 2020-06-03 15:58:51 +02:00
Michael Weiss c8a8906467 python3Packages.google_api_python_client: 1.8.3 -> 1.9.1 2020-06-03 15:58:51 +02:00
Michael Weiss a6afdbb70b nixos: Allow empty hostnames again
This fixes a regression from 993baa587c which requires
networking.hostName to be a valid DNS label [0].
Unfortunately we missed the fact that the hostnames may also be empty,
if the user wants to obtain it from a DHCP server. This is even required
by a few modules/images (e.g. Amazon EC2, Azure, and Google Compute).

[0]: https://github.com/NixOS/nixpkgs/pull/76542#issuecomment-638138666
2020-06-03 15:23:37 +02:00
Michael Weiss 84342d7b83 inxi: 3.1.00-1 -> 3.1.01-1 2020-06-02 18:16:32 +02:00
Michael Weiss 4d0d0b8dd1 rav1e: 0.3.1 -> 0.3.2 2020-05-29 21:34:51 +02:00
Michael Weiss 401df90cfa Merge pull request #89153 from alapshin/android-studio
androidStudioPackages.stable: 3.6.3.0 -> 4.0.0.16
2020-05-29 21:11:45 +02:00
Michael Weiss a668f6a58a libva: Switch from GNU Autotools to Meson 2020-05-29 20:48:15 +02:00
Michael Weiss 9ab24ec76b libva-utils: refactor
Note: This doesn't affect the result.
2020-05-29 20:48:15 +02:00
Michael Weiss 023e11ae34 swaylock: Add a short note about the required PAM module
See #89019, hopefully this helps a bit.
2020-05-28 00:27:19 +02:00
Michael Weiss 816e06ce20 python3Packages.google_api_python_client: 1.8.3 -> 1.8.4 2020-05-27 22:27:52 +02:00
Michael Weiss d30e63405f jekyll: 4.0.1 -> 4.1.0 2020-05-27 21:02:03 +02:00
Michael Weiss 4454219156 nvme-cli: 1.11.1 -> 1.11.2 2020-05-27 20:34:12 +02:00
Michael Weiss 6d923b36cd tdesktop: 2.1.6 -> 2.1.7 2020-05-25 17:28:59 +02:00
Michael Weissandzimbatm 993baa587c nixos: Require networking.hostName to be a valid DNS label
This also means that the hostname must not contain the domain name part
anymore (i.e. must not be a FQDN).
See RFC 1035 [0], "man 5 hostname", or the kernel documentation [1].
Note: For legacy reasons we also allow underscores inside of the label
but this is not recommended and intentionally left undocumented.

[0]: https://tools.ietf.org/html/rfc1035
[1]: https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#domainname-hostname

Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-05-25 18:13:39 +02:00
Michael WeissandFlorian Klink 234d95a6fc nixos/networking: Add the FQDN and hostname to /etc/hosts
This fixes the output of "hostname --fqdn" (previously the domain name
was not appended). Additionally it's now possible to use the FQDN.

This works by unconditionally adding two entries to /etc/hosts:
127.0.0.1 localhost
::1 localhost

These are the first two entries and therefore gethostbyaddr() will
always resolve "127.0.0.1" and "::1" back to "localhost" [0].
This works because nscd (or rather the nss-files module) returns the
first matching row from /etc/hosts (and ignores the rest).

The FQDN and hostname entries are appended later to /etc/hosts, e.g.:
127.0.0.2 nixos-unstable.test.tld nixos-unstable
::1 nixos-unstable.test.tld nixos-unstable
Note: We use 127.0.0.2 here to follow nss-myhostname (systemd) as close
as possible. This has the advantage that 127.0.0.2 can be resolved back
to the FQDN but also the drawback that applications that only listen to
127.0.0.1 (and not additionally ::1) cannot be reached via the FQDN.
If you would like this to work you can use the following configuration:
```nix
networking.hosts."127.0.0.1" = [
  "${config.networking.hostName}.${config.networking.domain}"
  config.networking.hostName
];
```

Therefore gethostbyname() resolves "nixos-unstable" to the FQDN
(canonical name): "nixos-unstable.test.tld".

Advantages over the previous behaviour:
- The FQDN will now also be resolved correctly (the entry was missing).
- E.g. the command "hostname --fqdn" will now work as expected.
Drawbacks:
- Overrides entries form the DNS (an issue if e.g. $FQDN should resolve
  to the public IP address instead of 127.0.0.1)
  - Note: This was already partly an issue as there's an entry for
    $HOSTNAME (without the domain part) that resolves to
    127.0.1.1 (!= 127.0.0.1).
- Unknown (could potentially cause other unexpected issues, but special
  care was taken).

[0]: Some applications do apparently depend on this behaviour (see
c578924) and this is typically the expected behaviour.

Co-authored-by: Florian Klink <flokli@flokli.de>
2020-05-25 14:06:25 +02:00
Michael Weiss 9404c8ee74 gitRepo: 2.7 -> 2.8 2020-05-22 13:04:27 +02:00
Michael Weiss 9e7ea5f897 jekyll: Update the dependencies (security, CVE-2020-8165)
This fixes a potential security issue (reported by bundler-audit) by
updating activesupport to 6.0.3.1 for CVE-2020-8165 [0].

[0]: https://groups.google.com/forum/#!topic/rubyonrails-security/bv6fW4S0Y1c
2020-05-22 12:46:58 +02:00
Michael Weiss b1b307327c dav1d: 0.6.0 -> 0.7.0 2020-05-20 22:08:29 +02:00
Michael Weiss 0a5a900ff1 fscrypt-experimental: 0.2.7 -> 0.2.8 2020-05-20 18:17:12 +02:00
Michael Weiss f6373d28e1 libaom: 1.0.0-errata1 -> 2.0.0 2020-05-20 17:12:56 +02:00
Michael Weiss 674c4f1fc5 Merge pull request #88206 from primeos/chromium
chromium: 81.0.4044.138 -> 83.0.4103.61
2020-05-20 11:56:16 +02:00
Michael Weiss cdd95a9625 chromium: 81.0.4044.138 -> 83.0.4103.61
https://chromereleases.googleblog.com/2020/05/stable-channel-update-for-desktop_19.html

This update includes 38 security fixes.

CVEs:
CVE-2020-6465 CVE-2020-6466 CVE-2020-6467 CVE-2020-6468 CVE-2020-6469
CVE-2020-6470 CVE-2020-6471 CVE-2020-6472 CVE-2020-6473 CVE-2020-6474
CVE-2020-6475 CVE-2020-6476 CVE-2020-6477 CVE-2020-6478 CVE-2020-6479
CVE-2020-6480 CVE-2020-6481 CVE-2020-6482 CVE-2020-6483 CVE-2020-6484
CVE-2020-6485 CVE-2020-6486 CVE-2020-6487 CVE-2020-6488 CVE-2020-6489
CVE-2020-6490 CVE-2020-6491
2020-05-19 23:55:32 +02:00
Michael Weiss 9f2faa1f6f git-doc: init 2020-05-18 16:53:13 +02:00
Michael Weiss 54918d6366 git: Add a doc output for the HTML and text files
This will install the HTML and text documentation into a separate output
so that users can install it without having to rebuild Git.
Previously only `doc/git/git-subtree.html` was installed (which is now
in $doc as well).
The current output sizes are as follows:
```
$ du -sh $(nix-build -A git)
47M     /nix/store/wyqgalp61kmavx06rams7z8jz177nd8y-git-2.26.2
$ du -sh $(nix-build -A git.doc)
14M     /nix/store/6zi22fl5xc3sg23d9shsviinvwk89wvq-git-2.26.2-doc
```

Fixes #86022 (at least partly since the output has to be installed).
2020-05-18 16:50:43 +02:00
Michael Weiss 4756e2eb0c python3Packages.google_api_python_client: 1.8.2 -> 1.8.3 2020-05-16 22:10:07 +02:00
Michael Weiss 347882f36a signal-desktop: 1.34.0 -> 1.34.1 2020-05-16 19:27:42 +02:00
Michael Weiss 6e5b1a71eb tdesktop: 2.1.4 -> 2.1.6 2020-05-16 19:26:09 +02:00
Michael Weiss b0df5a6816 signal-desktop: 1.33.4 -> 1.34.0 2020-05-15 14:11:58 +02:00
Michael Weiss ec285b873f jekyll: 4.0.0 -> 4.0.1 2020-05-10 15:18:31 +02:00
Michael Weiss 22fef8ebb1 tdesktop: 2.1.2 -> 2.1.4 2020-05-10 15:08:06 +02:00
Michael Weiss 1104de365e gns3-{gui,server}: 2.2.7 -> 2.2.8 2020-05-10 14:58:38 +02:00
Michael Weiss 6c1b066eb5 isync: Add myself (@primeos) as maintainer
Since 887295fd2d we need a new maintainer and I depend on this
software. The rest of the changes is just a refactoring (apart from
meta attributes).
2020-05-10 12:54:05 +02:00
Michael Weiss 69dc7e64ad tdesktop: 2.1.1 -> 2.1.2 2020-05-06 13:27:54 +02:00
Michael Weiss ca5fa22a38 gitRepo: 2.6 -> 2.7 2020-05-06 13:27:03 +02:00
Michael Weiss d547e06ff0 androidStudioPackages.{dev,canary}: 4.1.0.7 -> 4.1.0.8 2020-05-06 13:13:19 +02:00
Michael Weiss f00f6a73df Merge pull request #87021 from primeos/chromium
chromium: 81.0.4044.129 -> 81.0.4044.138
2020-05-06 13:01:58 +02:00
Michael Weiss dec3d5f39f chromium: 81.0.4044.129 -> 81.0.4044.138
https://chromereleases.googleblog.com/2020/05/stable-channel-update-for-desktop.html

This update includes 3 security fixes.

CVEs: CVE-2020-6831 CVE-2020-6464
2020-05-06 01:11:53 +02:00
Michael Weiss e9e2f81590 tdesktop: 2.1.0 -> 2.1.1
Regarding microsoft_gsl: The CMake scripts from Telegram-Desktop did not
find it anymore (I didn't investigate this) and Arch already made this
change during the last update. It's probably best to do the same here
especially since Telegram-Desktop is currently based on GSL 3.0.1 while
our version is still at 2.1.0.
2020-05-02 21:30:07 +02:00
Michael Weiss bfa2452dc8 Merge pull request #86206 from primeos/chromium
chromium: 81.0.4044.122 -> 81.0.4044.129
2020-04-29 11:15:25 +02:00
Michael Weiss 0162890ce0 python3Packages.mysql-connector: 8.0.19 -> 8.0.20 2020-04-28 15:37:40 +02:00
Michael Weiss db4aece884 chromium: 81.0.4044.122 -> 81.0.4044.129
https://chromereleases.googleblog.com/2020/04/stable-channel-update-for-desktop_27.html

This update includes 2 security fixes.

CVEs: CVE-2020-6462 CVE-2020-6461
2020-04-28 14:39:10 +02:00
Michael Weiss facfa00202 signal-desktop: Add passthru.tests 2020-04-28 13:59:05 +02:00
Michael Weiss 660d284137 signal-desktop: 1.33.3 -> 1.33.4 2020-04-28 13:49:06 +02:00
Michael Weiss 4f17832abf msmtp: 1.8.8 -> 1.8.10 (#86027)
This update contains the full fix for the unfortunate and very annoying
msmtpq regression [0]. #YAY
This successfully reduces the amount of spam my setup generates :)
(Note: SCNR)

Relevant patches:
- https://github.com/marlam/msmtp-mirror/commit/c78f24347ec996c7a3830b48403bf3736afca071
- https://github.com/marlam/msmtp-mirror/commit/dfb39595a5cdf048db4dfc438333a2b8948c5296

[0]: https://marlam.de/msmtp/news/
2020-04-26 01:08:31 +02:00
Michael Weiss c5e8985fd7 androidStudioPackages.beta: 4.0.0.13 -> 4.0.0.14 2020-04-25 21:38:54 +02:00
Michael Weiss 170c2b1954 androidStudioPackages.{dev,canary}: 4.1.0.6 -> 4.1.0.7 2020-04-25 21:38:53 +02:00
Michael Weiss 74ac6ffad0 libva: 2.6.1 -> 2.7.1
Fixes #85850.
2020-04-25 18:28:32 +02:00
Michael Weiss 34276b84c5 nvme-cli: 1.10.1 -> 1.11.1 2020-04-24 17:56:08 +02:00
Michael Weiss 03399906ec tdesktop: 2.0.1 -> 2.1.0 2020-04-24 15:19:11 +02:00
Michael Weiss edc421138b signal-desktop: 1.33.1 -> 1.33.3 2020-04-24 15:10:05 +02:00
Michael Weiss 71c672133a Merge pull request #85783 from primeos/sway-wrapper-exec-support
sway: Make it possible to use exec in extraSessionCommands
2020-04-23 22:34:33 +02:00
Michael Weiss 18504037c5 inxi: Add a flag to install all recommended tools 2020-04-23 13:56:46 +02:00
Michael Weiss 58f8e4a8c2 inxi: 3.0.38-1 -> 3.1.00-1 2020-04-23 12:51:09 +02:00
Michael Weiss 1a047c4a8e sway: Make it possible to use exec in extraSessionCommands
This is useful for use-cases like this (logging to journald):
```
programs.sway.extraSessionCommands = ''
  if [ -z "$_SWAY_DID_SYSTEMD_CAT" ]; then
    export _SWAY_DID_SYSTEMD_CAT=1
    exec ${config.systemd.package}/bin/systemd-cat -t sway "$0" "$@"
  fi
  # ... (potentially also another exec)
'';
```

Without this change the rest of the extraSessionCommands won't be
executed after the exec since the whole extraSessionCommands block would
be skipped during the re-execution (_SWAY_WRAPPER_ALREADY_EXECUTED is
already set).
2020-04-22 17:09:20 +02:00
Michael Weiss c6e3c006b1 python3Packages.cryptography: 2.9 -> 2.9.1
"Updated Windows, macOS, and ``manylinux`` wheels to be compiled with
OpenSSL 1.1.1g."
2020-04-22 17:08:52 +02:00
Michael Weiss 2319f0c168 python3Packages.google_api_python_client: 1.8.1 -> 1.8.2 2020-04-22 14:12:55 +02:00
Michael Weiss 7d2561cbdd git: 2.26.1 -> 2.26.2 (security, CVE-2020-11008)
See: https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.17.5.txt
2020-04-22 13:54:25 +02:00
Michael Weiss a2df9776f0 chromium: 81.0.4044.113 -> 81.0.4044.122
https://chromereleases.googleblog.com/2020/04/stable-channel-update-for-desktop_21.html

This update includes 8 security fixes.

CVEs: CVE-2020-6459 CVE-2020-6460 CVE-2020-645
2020-04-22 01:20:32 +02:00
Michael Weiss b9c027da07 Merge pull request #85719 from nioncode/android-studio-ps
android-studio: add ps to closure
2020-04-21 23:50:37 +02:00
Michael Weiss 0d1194704b python3Packages.google_api_python_client: 1.8.0 -> 1.8.1
This contains a fix for the goobook build which would break due to this
update.
2020-04-21 22:08:50 +02:00
Michael Weiss fe5117d05e quiterss: 0.19.3 -> 0.19.4 2020-04-21 21:31:45 +02:00
Michael Weiss 666042141e git: Fix the update.sh script and use HTTPS
The syntax is ${parameter:-word} (i.e. previously this used
"latestTag" instead of the actual value).
(Fixes a regression from #85278.)

Also: Even though getting the latest tag isn't really security critical
(as long as Git itself is secure against untrusted input), I'd prefer to
switch from the Git to the HTTPS protocol (for authentication of the
server and encryption + uses a standard port).
2020-04-21 14:30:11 +02:00
Michael Weiss d8b7b590c7 html-proofer: 3.15.2 -> 3.15.3 2020-04-21 01:12:59 +02:00
Michael Weiss 0e4417f118 Revert "nixos: Introduce nix.buildLocation option"
This reverts commit 5291925fd2.
Reason: This started to cause severe regressions, see:
- https://github.com/NixOS/nixpkgs/issues/85552
- https://github.com/NixOS/nixpkgs/pull/83166#pullrequestreview-395960588
Fixes #85552.
2020-04-19 15:16:08 +02:00
Michael Weiss 34643fcf96 Merge pull request #85253 from primeos/chromium-vaapi
chromium: Build with VA-API but disable it by default
2020-04-18 14:20:33 +02:00
Michael Weiss 267eefcdb7 chromium: Build with VA-API but disable it by default
This makes it possible to enable VA-API without having to rebuild
Chromium: `chromium.override { enableVaapi = true; }`
2020-04-18 13:46:22 +02:00
Michael Weiss e5450d9d00 androidStudioPackages.{dev,canary}: 4.1.0.5 -> 4.1.0.6 2020-04-18 12:29:11 +02:00
Michael Weiss b7b1022fb2 android-studio: 3.6.2 -> 3.6.3 2020-04-18 12:29:05 +02:00
Michael Weiss cb5c0a4bbc chromium{Beta,Dev}: M81 -> M83 -> M84 2020-04-17 13:44:45 +02:00
Michael Weiss 6109f94f8a Merge pull request #85360 from primeos/chromium
chromium: 81.0.4044.92 -> 81.0.4044.113
2020-04-16 22:33:45 +02:00
Michael Weiss 7c2fc1ce23 gitRepo: 2.5 -> 2.6 2020-04-16 14:37:22 +02:00
Michael Weiss 56f7c93a2f signal-desktop: 1.33.0 -> 1.33.1 2020-04-16 14:31:55 +02:00
Michael Weiss 16477d764f google-chrome-{beta,dev}: Fix one substituteInPlace pattern 2020-04-16 13:39:07 +02:00
Michael Weiss ef2c3ab20e chromium: 81.0.4044.92 -> 81.0.4044.113
https://chromereleases.googleblog.com/2020/04/stable-channel-update-for-desktop_15.html

This update includes 1 security fix.

CVEs: CVE-2020-6457
2020-04-16 10:53:53 +02:00
Michael Weiss e27369fbe6 lf: Install the shell completions 2020-04-14 22:12:55 +02:00
Michael Weiss ca2a222747 wf-recorder: 0.2 -> 0.2.1 2020-04-14 21:08:45 +02:00
Michael Weiss 806b2997a9 lf: 13 -> 14 2020-04-13 18:34:42 +02:00
Michael Weiss adcd8baa02 android-studio: Fix the license (unfree)
Android Studio states that it contains proprietary code!
2020-04-12 17:27:54 +02:00
Michael Weiss c26ffbf023 maim: 5.5.3 -> 5.6.3 2020-04-12 17:12:02 +02:00
Michael Weiss 70e4e62efb androidStudioPackages.{dev,canary}: 4.1.0.4 -> 4.1.0.5 2020-04-12 16:55:21 +02:00
Michael Weiss b533f10345 chromium: Fix the VA-API build 2020-04-10 23:28:35 +02:00
Michael Weiss b7bf29993b Merge pull request #82298 from Ralith/netem
iproute: include netem tools
2020-04-08 19:05:59 +02:00
Michael Weiss 2eab203e57 Merge pull request #84671 from primeos/chromium
chromium: 80.0.3987.163 -> 81.0.4044.92
2020-04-08 12:29:22 +02:00
Michael Weiss 49cc739239 gns3-{gui,server}: 2.2.6 -> 2.2.7 2020-04-08 11:58:44 +02:00