Commit graph

188886 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
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
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
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
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
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
Marek Mahut
dd87e37a8e
Merge pull request #66590 from jonringer/bump-bdsync
bdsync: 0.10.1 -> 0.11.1
2019-08-14 12:28:36 +02:00
Marek Mahut
d09eb635b3
Merge pull request #66609 from prusnak/runwayml
runwayml: 0.8.1 -> 0.9.0
2019-08-14 12:28:01 +02:00
WilliButz
ddf15d321f
Merge pull request #66612 from fadenb/oxidized_permission_issue
nixos/oxidized: Use symlinks for config files
2019-08-14 11:56:34 +02:00
Tristan Helmich (omniIT)
02dfc07a04 nixos/oxidized: Use symlinks for config files
The old `cp` suffers from a permission issue on the 2nd start of the
service. The files were copied from the read-only nix store. On the 2nd
start of the service the `cp` failed.
The new version force creates a symlink which does not suffer from this.
2019-08-14 09:30:51 +00:00
symphorien
757ac88383 utsushi: init at 3.57.0 (#65223) 2019-08-14 08:37:19 +00:00
Sascha Grunert
3efc04c41d
cri-tools: 1.14.0 -> 1.15.0
- Fix go build process to include critest as well.
- Fix GitHub repo location to be `kubernetes-sigs`
- Add me as maintainer

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-14 09:16:31 +02:00
Marek Mahut
90f6578ef2
Merge pull request #66602 from jonringer/bump-axel
axel: 2.17.3 -> 2.17.5
2019-08-14 08:52:42 +02:00