Incorporate wrapGAppsHook so that all gnumeric binaries are wrapped,
following the convention used by many gnome applications.
This addresses two issues:
1. The packaged ssconvert, ssdiff, ssgrep, and ssindex executables
in bin are not currently wrapped so some expected environment
variables including XDG_DATA_DIRS and GIO_EXTRA_MODULES are not
set. The result is many warnings on stderr when running these
commands, e.g.
==================================================================
CRITICAL **:...go_conf_add_monitor: assertion 'node || key' failed
CRITICAL **:...go_conf_get_node: assertion 'parent || key' failed
WARNING **:...unknown GOConfMonitor id.
==================================================================
2. None of the binaries, including gnumeric, currently wrap the
environment variable GDK_PIXBUF_MODULE_FILE. This can cause
segfaults if an incompatible GDK_PIXBUF_MODULE_FILE is already set
in the environment (e.g. by plasma5). This could be encountered
running a nixos pre-19.03 gnumeric binary from a nixos 18.09 KDE
session.
postgis: cleanup
Another part of https://github.com/NixOS/nixpkgs/pull/38698, though I did cleanup even more.
Moving docs to separate output should save another 30MB.
I did pin poppler to 0.61 just to be sure GDAL doesn't break again next
time poppler changes internal APIs.
* postgresql: reorganize package and it's extensions
Extracts some useful parts of https://github.com/NixOS/nixpkgs/pull/38698,
in particular, it's vision that postgresql plugins should be namespaced.
* Elvish: a small fixup
Fixing version variable in order to properly download the source code.
Also, some minor stylistical modifications and additions.
* elvish: use pname
* Update pkgs/shells/elvish/default.nix
Use `pname` instead of `name`.
Co-Authored-By: AndersonTorres <torres.anderson.85@protonmail.com>
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
We don’t need to set -stdlib=libstdc++. This only works on Clang so it
is not good to set it globally. In addition, Clang knows to use
libstdc++ on Linux by default if no stdlib is set:
324f918438/lib/Driver/ToolChains/Linux.cpp (L456)
It’s a good policy to just leave off stdlib for now.
Fixes#29877.
Note: on macOS, it works without this config. Testing on Ubuntu/Debian with the parent sha will produce an error about extconf.rb failing to find openssl/sha.h.