3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

189790 commits

Author SHA1 Message Date
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
xbreak 549cbc0f48 gcc: 9.1.0 -> 9.2.0
gcc 9.2.0 is a bug-fix release.
2019-08-18 15:39:54 +00: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
Ahmed Kamal 18e615a7a5 remove kDefaultDonateLevel patch, upstream now defaults it to zero 2019-08-18 16:40:31 +02:00
Ahmed Kamal 03fbb136f4 xmrig-proxy: 2.14.4 -> 3.0.0 2019-08-18 16:37:01 +02:00
toonn 5a035ec45f pass-otp: 1.1.1 -> 1.2.0
Had to specify `BASHCOMPDIR` in `$out` to keep things pure.
2019-08-18 16:34:16 +02: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
jD91mZM2 c86c704289
multimc: 0.6.6 -> 0.6.7 2019-08-18 14:53:59 +02: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
Marek Mahut f39b94cb71 clipgrab: use qt5’s mkDerivation 2019-08-18 13:59:27 +02:00
Marek Mahut d2ebcec779 tests: adding metabase service test 2019-08-18 13:44:26 +02:00
Marek Mahut 69089e990e modules: adding metabase service 2019-08-18 13:44:26 +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
Eugene 6f494e57ec docui: add maintainer 2019-08-18 13:36:35 +03:00
Eugene 41797ac53f docui: 1.0.3 -> 2.0.0 2019-08-18 13:36:19 +03:00
Emery Hemingway 9a1b8bc325 irssi: build bundled OTR plug-in and remove "irssi-otr" package 2019-08-18 12:35:57 +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
Maximilian Bosch b1ac3587cd
kitty: python3 runtime requires ncurses executables
`infocmp` from `ncruses.dev` is needed to copy kitty's terminfo e.g. to
a remote server: 3a5baf2722/docs/faq.rst (id45)

Fixes #66583
2019-08-18 10:55:45 +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
xrelkd b2b2441f79 parity-beta: 2.6.0 -> 2.6.1 2019-08-18 16:34:09 +08:00
xrelkd b2c7b8ab3f parity: 2.5.5 -> 2.5.6 2019-08-18 16:33:50 +08: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