Commit Graph

189362 Commits

Author SHA1 Message Date
Derek Kulinski
1c392dfcf0 pgbouncer: use c-ares for name resolution (#66336)
According to pgbouncer README.md file c-ares is the
prefered way to resolve names for pgbouncer 1.10+:
https://github.com/pgbouncer/pgbouncer/blob/master/README.md#dns-lookup-support

The previous method (evdns) did not support EDNS0 and SOA lookups.
2019-08-15 03:20:42 +03:00
worldofpeace
80396cf18a pythonPackages.wikipedia: remove
as lollypop no longer depends on this library that is
essentially abandoned we should remove it from
nixpkgs.
2019-08-14 19:59:02 -04:00
worldofpeace
8097e63ad8 lollypop: 1.1.4.2 -> 1.1.4.14
Removed python-wikipedia dependency [0]

[0]: https://gitlab.gnome.org/World/lollypop/-/tags/1.1.4.7
2019-08-14 19:59:02 -04:00
Peter Hoeg
503ca1f40c nixos aws: use in-kernel ixgbevf driver (#58956) 2019-08-15 02:58:22 +03:00
aszlig
dc525e8b12
Merge pull request #66648 (improve xkbvalidate)
This allows xkbvalidate to be compiled via Clang and also has a few
other portability improvements, eg. it now can even be compiled on OS X,
even though it's probably not needed there.

In addition, I changed the binary name so that it matches the package
name.

I'm merging this in right now, because there is only the xserver NixOS
module where this is used, so the risk of a catastrophic breakage is
very low.

Checks and build done by ofborg also ran successfully and I also did a
few local tests (eg. running via valgrind to avoid leaks) to make sure
it's still working properly.
2019-08-15 01:32:09 +02:00
aszlig
16ecd0d5ca
xkbvalidate: Rename output binary to xkbvalidate
So far, the output binary has been just "validate", which is quite a
very generic name and doesn't match the package name.

Even though I highly doubt that this program will ever be used outside
of NixOS modules, it's nevertheless less confusing to have a consistent
naming.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-15 01:11:32 +02:00
aszlig
1964b0c1b1
xkbvalidate: Don't rely on GNU extensions
The only reason why I was using _GNU_SOURCE was because of vasprintf(),
so getting rid of that extension should make the source way more
portable.

When using vsnprintf() with a null pointer for the output buffer and a
size of 0, I wasn't quite sure whether this would be undefined
behaviour, so I looked it up in the C11 standard.

In section 7.21.6.5, it explicitly mentions this case, so we're lucky:

  If n is zero, nothing is written, and s may be a null pointer.

Additionally, section 7.21.6.12 writes the following about vsnprintf():

  The vsnprintf function does not invoke the va_end macro.

So to be sure to avoid undefined behaviour I subsequently added the
corresponding va_end() calls.

With this, the platforms attribute is now "unix", because the program
should now even run on OS X, even though it usually wouldn't be needed.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-15 00:59:58 +02:00
Lily Ballard
63259057a8 erlang: Fix build error on darwin
Stop hardcoding 10.10 as the platform when building. Instead we'll use
$MACOSX_DEPLOYMENT_TARGET so erlang doesn't have to be updated again the
next time that's changed.
2019-08-14 15:56:29 -07:00
Markus Kowalewski
681b36b14e
pythonPackages.pyslurm: 18-08-3 -> 19-05-0 2019-08-15 00:19:20 +02:00
Markus Kowalewski
6a5d83231e
slurm: 19.05.1.2 -> 19.05.2.1 2019-08-15 00:15:03 +02:00
aszlig
77e8a12755
xkbvalidate: Use $CC instead of hardcoded gcc
I initially didn't use $CC because I thought this would be GCC specific,
but it turns out that Clang actually accepts -std=gnu11.

So using $CC here might not work on compilers other than Clang or GCC,
but at the moment those are the compilers we typically use in nixpkgs,
so even if we'd use some other compiler it *might* even work there.

I've tested this by compiling against clangStdenv with both $CC and
clang hardcoded and it works.

This was reported by @dkudriavtsev on IRC.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-14 23:57:20 +02:00
worldofpeace
bc0072305b
Merge pull request #66638 from worldofpeace/favorite-apps-gnome3
nixos/gnome3: set favorite-apps
2019-08-14 17:12:48 -04:00
worldofpeace
83c0b5f06f nixos/gnome3: set favorite-apps
The upstream defaults [0] for this key include shotwell and
rhythmbox which aren't installed by the gnome3 module.
We swap these out for gnome-photos and gnome-music
which are.

[0]: https://gitlab.gnome.org/GNOME/gnome-shell/blob/3.32.2/data/org.gnome.shell.gschema.xml.in#L42
2019-08-14 16:55:45 -04:00
WilliButz
9bce1eaabd
Merge pull request #66630 from kolaente/update/gitea-1.9.1
gitea: 1.9.0 -> 1.9.1
2019-08-14 22:32:56 +02:00
Jonathan Ringer
9a52a52e99 pazi: 0.2.0 -> 0.3.0 2019-08-14 13:08:49 -07:00
WilliButz
f2e631148a
Merge pull request #66525 from andir/google-cloud-cpp
google-cloud-cpp: init at 0.11.0
2019-08-14 21:57:21 +02:00
Matthew Bauer
8281a67be0
Merge pull request #64809 from ambrop72/chromium-egl-fix
chromium: Fix running with --use-gl=egl.
2019-08-14 15:42:31 -04:00
Jonathan Ringer
ed0cb5cf58 pamixer: 1.3.1 -> 1.4 2019-08-14 12:38:07 -07:00
Michael Raskin
f5a7cf7941
Merge pull request #66632 from fare-patches/master
Update Gambit and Gerbil from upstream
2019-08-14 18:24:00 +00:00
Matthew Bauer
9af20c376b
Merge pull request #65349 from matthewbauer/dicts
Lookup hunspell dictionaries in XDG_DATA_DIRS
2019-08-14 14:17:41 -04:00
Jonathan Ringer
6cf9f6afa5 fmit: 1.1.14 -> 1.2.6 2019-08-14 10:58:48 -07:00
Gabriel Ebner
29851a69d3
calculix: init at 2.15 (#66628)
calculix: init at 2.15
2019-08-14 19:51:18 +02:00
kolaente
e137c91526
gitea: 1.9.0 -> 1.9.1 2019-08-14 19:38:59 +02:00
Niklas Hambüchen
19b043fe84 coreutils: Patch benign test case failing with musl.
See https://github.com/NixOS/nixpkgs/pull/61250#issuecomment-491642024

Using upstream patch.
2019-08-14 19:16:43 +02:00
Niklas Hambüchen
5524dac2fe coreutils: Refactor test patching.
So that more patches can easily be added and commented.
2019-08-14 19:16:43 +02:00
Gabriel Ebner
0a1e131077 gmsh: opencascade support 2019-08-14 19:09:40 +02:00
Gabriel Ebner
f91904a889 calculix: init at 2.15 2019-08-14 19:09:40 +02:00
Gabriel Ebner
a736d87393 spooles: init at 2.2 2019-08-14 19:09:39 +02:00
Gabriel Ebner
8d67c151a6 all-packages: fix trailing space 2019-08-14 18:18:09 +02:00
aszlig
3e78331d96
Merge pull request #66582 (nginx security updates)
This addresses CVE-2019-9511, CVE-2019-9513 and CVE-2019-9516. Details
about these vulnerabilities can be found at:

216433296d/advisories/third-party/2019-002.md

Version 1.16.1 only includes the security fixes, however version 1.17.3
has two additional bugfixes:

  * "zero size buf" alerts might appear in logs when using gzipping; the
    bug had appeared in 1.17.2.
  * a segmentation fault might occur in a worker process if the
    "resolver" directive was used in SMTP proxy.

I haven't extensively tested this, but from a quick test, nginx is still
working and the NixOS tests also succeed.

Thanks to @Izorkin for the pull request.
2019-08-14 18:17:45 +02:00
Matthew Bauer
1af546a929
Merge pull request #65040 from matthewbauer/cups-fixes
nixos/cups fixes
2019-08-14 11:52:11 -04:00
Matthew Bauer
e9b7085ff8 cups: add myself as maintainer 2019-08-14 11:47:48 -04:00
Matthew Bauer
01cd4663d6 tests/printing: don’t wait for unit services
These are now socket activated, we don’t need it to start up front.
2019-08-14 11:47:48 -04:00
Matthew Bauer
011b12c3ca nixos: Add release notes for CUPS changes 2019-08-14 11:47:48 -04:00
Matthew Bauer
c068488817 nixos/cupsd: use socket-based activation by default
Make socket-based activation the
default (services.printing.startWhenNeeded)
2019-08-14 11:47:12 -04:00
Matthew Bauer
28040465be nixos/cupsd: include /run/cups/cups.sock in ListenStreams
This socket should always be created by systemd.
2019-08-14 11:47:12 -04:00
Matthew Bauer
35e633bde5 nixos/cupsd: only enable cups when startWhenNeeded = false
cups-browsed was pulling in cups.service even when we were using the
socket-based initialization.
2019-08-14 11:47:12 -04:00
Matthew Bauer
04ea093eb6 nixos/cupsd: Set CUPS_DATADIR globally
This is used by some programs that need CUPS data files. For instance,
print-manager looks here for printing test pages.
2019-08-14 11:47:12 -04:00
worldofpeace
dd49cf711e
Merge pull request #66338 from worldofpeace/installer/no-root
installer: Don't run as root
2019-08-14 11:20:54 -04:00
Joachim F
8f156698bf
Merge pull request #54425 from eadwu/init/srhtPackages
sourcehut: init
2019-08-14 14:50:59 +00:00
Vincent Laporte
6bb07c80bf smtube: use qt5’s mkDerivation
See #65399
2019-08-14 14:43:11 +00:00
Vincent Laporte
95ec53813a smplayer: use qt5’s mkDerivation
See #65399
2019-08-14 14:43:11 +00:00
Matthew Bauer
81bddd62ca
Merge pull request #62953 from asymmetric/wasmtime-update
wasmtime: 0.1.0 -> 20190521
2019-08-14 10:26:54 -04:00
Robert Winslow
e91d400dff darwin.adv_cmds: Fix fetchzip call by using https not http (#64546) 2019-08-14 10:24:34 -04:00
Matthew Bauer
4202715c58
Merge pull request #63835 from luaduck/rpi4-firmware
raspberrypi-firmware: Update version to 1.20190620+1
2019-08-14 10:22:22 -04:00
Matthew Bauer
166905cb31
Merge pull request #65484 from arcnmx/pr-stdenv-cmake-cross
stdenv: correct cross CMAKE_SYSTEM_NAME
2019-08-14 10:17:12 -04:00
Matthew Bauer
579168b537
Merge pull request #65483 from arcnmx/pr-llvm-baremetal
llvm8 bare metal fixes
2019-08-14 10:16:57 -04:00
Matthew Bauer
3411c1566a
Merge pull request #66480 from primeos/nixos-fuse
nixos/fuse: init
2019-08-14 10:16:02 -04:00
Frederik Rietdijk
8d56f2472e Merge master into staging-next 2019-08-14 13:45:54 +02:00
Marek Mahut
930659b10b
Merge pull request #66608 from saschagrunert/cri-tools
cri-tools: 1.14.0 -> 1.15.0
2019-08-14 12:50:01 +02:00