Commit graph

189413 commits

Author SHA1 Message Date
Florian Klink 8e923dfe36 nixosTests.systemd: add fq_codel test 2019-08-18 17:54:26 +02:00
Florian Klink bafc256915 nixos/systemd: remove separate coredump module 2019-08-18 17:54:26 +02:00
Florian Klink 9be0327a49 nixos/systemd: install sysctl snippets
systemd provides two sysctl snippets, 50-coredump.conf and
50-default.conf.

These enable:
 - Loose reverse path filtering
 - Source route filtering
 - `fq_codel` as a packet scheduler (this helps to fight bufferbloat)

This also configures the kernel to pass coredumps to `systemd-coredump`.
These sysctl snippets can be found in `/etc/sysctl.d/50-*.conf`,
and overridden via `boot.kernel.sysctl`
(which will place the parameters in `/etc/sysctl.d/60-nixos.conf`.

Let's start using these, like other distros already do for quite some
time, and remove those duplicate `boot.kernel.sysctl` options we
previously did set.

In the case of rp_filter (which systemd would set to 2 (loose)), make
our overrides to "1" more explicit.
2019-08-18 17:54:26 +02:00
Florian Klink e5965bd489 nixos/sysctl: rename /etc/sysctl.d/nixos.conf -> 60-nixos.conf
sysctl.d(5) recommends prefixing all filenames in /etc/sysctl.d with a
two-digit number and a dash, to simplify the ordering of the files.

Some packages provide custom files, often with "50-" prefix.
To ensure user-supplied configuration takes precedence over the one
specified via `boot.kernel.sysctl`, prefix the file generated there with
"60-".
2019-08-18 17:54:26 +02:00
Florian Klink 368be910fc
Merge pull request #66825 from flokli/nixos-systemd-test-dup
nixosTests.systemd: remove duplicate copypasta
2019-08-18 17:54:09 +02:00
Danylo Hlynskyi d09b4e3c87
lib: introduce forEach = flip map (#64723)
* lib: introduce `foreach` = flip map

The main purpose is to bring attention to `flip map`, which improves
code readablity. It is useful when ad-hoc anonymous function
grows two or more lines in `map` application:

```
      map (lcfg:
        let port = lcfg.port;
            portStr = if port != defaultPort then ":${toString port}" else "";
            scheme = if cfg.enableSSL then "https" else "http";
        in "${scheme}://cfg.hostName${portStr}"
      ) (getListen cfg);
```
Compare this to `foreach`-style:
```
      foreach (getListen cfg) (lcfg:
        let port = lcfg.port;
            portStr = if port != defaultPort then ":${toString port}" else "";
            scheme = if cfg.enableSSL then "https" else "http";
        in "${scheme}://cfg.hostName${portStr}"
      );
```
This is similar to Haskell's `for` (http://hackage.haskell.org/package/base-4.12.0.0/docs/Data-Traversable.html#v:for)

* mass replace "flip map -> foreach"

See `foreach`-introduction commit.
```
rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /foreach /g'
```

* Revert "mass replace "flip map -> foreach""

This reverts commit 3b0534310c.

* mass replace "flip map -> forEach"

See `forEach`-introduction commit.
```
rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /forEach /g'
```

* rename foreach -> forEach

* and one more place

* add release notes
2019-08-18 18:47:57 +03:00
Danylo Hlynskyi a2ea2a1945
tortoisehg: untie from mercurial and update to 5.0.2 (#66173)
* tortoisehg: untie from mercurial

When I've added `tortoisehg` package, it turned out that mercurial updates
sometimes broke thg. I've added a comment to `mercurial/default.nix` to
update torotisehg version during mercurial updates, but this worked the other way round:
mercurial stopped to be updated regularly (https://github.com/NixOS/nixpkgs/pull/60993).

And sadly it didn't solve the issue - https://github.com/NixOS/nixpkgs/issues/61759.

Here I'm trying to untie them. Tortoisehg will build a custom mercurial package
if versions don't match. This makes updating tortoisehg more complicated,
but it is still better than current situation.

* expose custom mercurial from thg package
2019-08-18 18:28:03 +03:00
danbst d80cd26ff9 Merge branch 'master' into flip-map-foreach 2019-08-18 18:00:25 +03:00
Danylo Hlynskyi 2ca09a94be
Merge pull request #66657 from danbst/pgpackages-fixes
Postgresql plugins fixes
2019-08-18 17:30:56 +03:00
Marek Mahut aff691af10
Merge pull request #65892 from r-ryantm/auto-update/couchdb
couchdb2: 2.3.0 -> 2.3.1
2019-08-18 16:28:41 +02:00
Marek Mahut 6f27f6c494
Merge pull request #66358 from Ralith/openxr-loader
openxr-loader: init at 1.0.1
2019-08-18 16:25:45 +02:00
Marek Mahut 17f72af38a
Merge pull request #66513 from alexbakker/looking-glass-client-b1
looking-glass-client: a12 -> B1
2019-08-18 16:20:32 +02:00
Marek Mahut bcc14b2700
Merge pull request #66757 from kim0/xmrig300
xmrig: 2.14.4 -> 3.0.0
2019-08-18 16:16:27 +02:00
Marek Mahut f9676fb94b
Merge pull request #66800 from r-ryantm/auto-update/cutemaze
cutemaze: 1.2.4 -> 1.2.5
2019-08-18 16:15:32 +02:00
Danylo Hlynskyi 2b393c8913
elasticsearch: add example on how to use plugins (#55115)
See https://discourse.nixos.org/t/elastic-search-plugins/1997
2019-08-18 17:11:20 +03:00
Marek Mahut 3a17a52a2a
Merge pull request #66676 from WilliButz/grafana-update
grafana: 6.3.2 -> 6.3.3
2019-08-18 14:18:07 +02:00
Marek Mahut 83fb9ed4cc
Merge pull request #66779 from r-ryantm/auto-update/bird
bird2: 2.0.4 -> 2.0.5
2019-08-18 14:16:40 +02:00
Florian Klink 36ece762e5
Merge pull request #66621 from flokli/gitlab-12.1.6
gitlab-ce: 12.0.3 -> 12.1.6
2019-08-18 14:08:14 +02:00
tbenst fd7ca9faec python: wxPython: init at 4.0.6 2019-08-18 13:42:46 +02:00
Florian Klink ffef31459a nixosTests.systemd: remove duplicate copypasta
It seems the regression test for #35268 sneaked in twice.
2019-08-18 13:11:51 +02:00
adisbladis f2c619fae8
Merge pull request #66819 from adisbladis/elpa-org-overrides
emacs-packages: Make elpa & org package sets overrideable
2019-08-18 12:50:22 +02:00
adisbladis 517d1b0869
elpa-packages: 2019-08-18 2019-08-18 11:10:34 +01:00
adisbladis b6ccc1a6b0
emacs-packages: Make org packages overrideable 2019-08-18 11:10:06 +01:00
adisbladis 316f68552b
emacs-packages: Add simple org-packages update wrapper script 2019-08-18 11:10:06 +01:00
adisbladis ee80e10a98
emacs-packages: Make elpa generated file overrideable 2019-08-18 11:10:02 +01:00
adisbladis eacc71a6b6
emacs-packages: Add easy wrapper script to update elpa 2019-08-18 11:03:32 +01:00
R. RyanTM ffbb4d26f9 kdeconnect: 1.3.4 -> 1.3.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kdeconnect/versions
2019-08-18 12:02:51 +02:00
markuskowa 9defd3e3e3
Merge pull request #66732 from markuskowa/upd-armadillo
armadillo: 9.600.5 -> 9.600.6
2019-08-18 11:34:57 +02:00
Vincent Laporte 7d4c8fb9f7
Merge pull request #66467 from vbgl/ocaml-ocsigen-start-1.8.0
ocsigen-start: 1.5.0 -> 1.8.0; ocsigen-toolkit: 2.0.0 -> 2.2.0
2019-08-18 09:24:39 +00:00
Matthieu Coudron de8c33e705 python3Packages.Kconfiglib: init at 10.36.0
python library to deal with kernel Kconfig system.
2019-08-18 10:58:28 +02:00
Vladimír Čunát ea0aea7280
texlive: remove myself from meta.maintainers
That corresponds to the real situation since a couple years ago.
2019-08-18 10:49:14 +02:00
worldofpeace 4f3e9ca93a
Merge pull request #65291 from worldofpeace/xdg-updates
Flatpak updates
2019-08-18 04:23:54 -04:00
worldofpeace ce0511e302 nixos/flatpak: add comment about selinux 2019-08-18 04:23:17 -04:00
worldofpeace 2f48ebbdcf rpm-ostree: 2019.2 -> 2019.5
https://github.com/projectatomic/rpm-ostree/releases/tag/v2019.3
https://github.com/projectatomic/rpm-ostree/releases/tag/v2019.4
https://github.com/projectatomic/rpm-ostree/releases/tag/v2019.5
2019-08-18 04:23:17 -04:00
worldofpeace 8fbae8c72d libmodulemd_1: init at 1.8.15 2019-08-18 04:23:17 -04:00
worldofpeace fdd28981d7 libmodulemd: init at 2.6.0
Includes a patch for the usual pygobject override stuff.
Pending upstream submission.
2019-08-18 04:23:17 -04:00
worldofpeace dca61d854f ostree: 2019.1 -> 2019.2
All patches synced.
fix-1592.patch needed some new additions since that
issue affects more test cases.

https://github.com/ostreedev/ostree/releases/tag/v2019.2

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2019-08-18 04:23:17 -04:00
worldofpeace 46d0ebb144 xdg-desktop-portal-gtk: 1.2.0 -> 1.4.0
Stylize expression.

https://github.com/flatpak/xdg-desktop-portal-gtk/releases/tag/1.4.0
2019-08-18 04:23:17 -04:00
worldofpeace 2eb94bdbb8 xdg-desktop-portal: 1.2.0 -> 1.4.2
* adapt respect-path-env-var.patch to code being
  moved around, etc.

* Add  json-glib

https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.4.0
2019-08-18 04:23:17 -04:00
worldofpeace 1728bc8d22 flatpak: 1.2.4 -> 1.4.2
* Regenerated all patches for 1.4.2 and resolved
  any conflicts.

* fix-test-paths.patch doesn't copy the whole locale archive
  because we have C.UTF8 now.

* nixos/flatpak creates a Flatpak system helper user
  Change introduced in 1.3.2.

Changes:
See https://github.com/flatpak/flatpak/releases/tag/1.3.1 through
1.4.2.
2019-08-18 04:23:17 -04:00
Marek Mahut 43fcb94fcc cutemaze: use qt5's mkDerivation 2019-08-18 10:14:38 +02:00
Vladimír Čunát 8ed485c67b
Merge #65948: tlaplusToolbox: 1.5.7 -> 1.6.0 2019-08-18 10:11:50 +02:00
Marek Mahut 9a8f5e5396
Merge pull request #66805 from r-ryantm/auto-update/ccid
ccid: 1.4.30 -> 1.4.31
2019-08-18 09:52:03 +02:00
Marek Mahut c4acd0b79c
Merge pull request #66806 from r-ryantm/auto-update/chafa
chafa: 1.0.1 -> 1.2.1
2019-08-18 09:51:15 +02:00
Marek Mahut 882ba76a9d
Merge pull request #66803 from r-ryantm/auto-update/cimg
cimg: 2.6.7 -> 2.7.0
2019-08-18 09:47:07 +02:00
Marek Mahut 47de427923
Merge pull request #66798 from r-ryantm/auto-update/calibre
calibre: 3.45.2 -> 3.46.0
2019-08-18 09:44:37 +02:00
Marek Mahut 42f72e11b2
Merge pull request #66802 from r-ryantm/auto-update/conky
conky: 1.11.3 -> 1.11.5
2019-08-18 09:43:04 +02:00
Frederik Rietdijk 295888c622
Merge pull request #66381 from NixOS/staging-next
Staging next
2019-08-18 08:54:45 +02:00
Frederik Rietdijk 316a0e9382
Merge pull request #65775 from Kiwi/ocrmypdf
ocrmypdf: init
2019-08-18 08:16:59 +02:00
Samuel Dionne-Riel c2742295fb
Merge pull request #61655 from lopsided98/g2o-fixes
g2o: build g2o_viewer, libqglviewer: 2.6.3 -> 2.7.1
2019-08-18 00:00:01 -04:00