Commit Graph
265333 Commits
Author SHA1 Message Date
S. Nordin Abouzahra 7415d0589d firefox: overhaul LTO
Enable LTO support on Linux by default again.

Add patch to fix dependentlibs.list generation under LTO. This is
necessary for fixing firefox-wayland crashing when built with LTO.

Add makeFlags which set ar, ranlib, and nm to be llvm-ar, llvm-ranlib
and llvm-nm when building with llvm-based LTO. (bmo#1480005)
2021-01-13 08:06:48 -05:00
S. Nordin Abouzahra 40b4eb1c52 firefox: simplify NIX_LDFLAGS usage
This was required to solve the XPCOMGlueLoad error when building with
LTO. However, it turns out libxul.so is supposed to have some libraries
that are reported as not found by ldd. Setting the RPATH worked around
the error as it forced dependency resolution but failed to fix the real
issue of broken generation of dependentlibs.list.

The libraries that are reported as not found by ldd are supposed to be
dlopened through the logic found in nsXPCOMGlue.cpp. However since the
generation of dependentlibs.list is broken under LTO this did not
happen. Instead of pulling libwayland-client.so from the GTK libraries
it found the stub library first (libmozwayland.so). The stub library
causes (as it should) wl_display_connect to always return NULL which is
the cause of the segmentation fault and LTO breaking wayland support.

Remove the hardcoded path used for the XPCOMGlueLoad error workaround
in NIX_LDFLAGS. libunwind is still unfortunately needed. Once the issue
of the generation of dependentlibs.list being borked is fixed it should
remedy the wayland crash issue on LTO.
2021-01-13 08:06:47 -05:00
S. Nordin Abouzahra a277fca1c4 firefox: remove patchelf usage
Firefox has a number of optional dependencies that get dlopened.
Instead of using patchelf to set the RPATH use LD_LIBRARY_PATH.
The motivation for this is we already set LD_LIBRARY_PATH in the
wrapper on Linux.
2021-01-13 08:06:46 -05:00
S. Nordin Abouzahra 80e863c52c firefox: clean up optionals
Change `lib.optionals a [ b ]` to `lib.optional a b`.
2021-01-13 08:06:45 -05:00
S. Nordin Abouzahra 96c34702e9 firefox: restrict system NSPR workaround
It only affected FF80 so place an upper bound restriction. See
bmo#1661096 for details.

This fixes substituteStream() warnings about missing patterns which
appeared in the logs.
2021-01-13 08:06:45 -05:00
S. Nordin Abouzahra c6f113a3f4 firefox: remove superfluous NIX_CFLAGS_COMPILE
It was added for nspr and nss back in the 55.0.3 to 56.0 upgrade. It
also served as a workaround for an undeclared gio-unix-2.0 dependency.
Sometime afterwards nspr was removed, leaving just the two. Since then,
upstream has added a declaration for gio-unix-2.0 (in FF62). As for the
nss include it seemingly has no purpose since current firefox builds
with it removed.
2021-01-13 08:06:44 -05:00
Vladimír Čunát 8ca33835ba nixos: fixup build of aarch64 minimal ISO (fixes #109252)
Perhaps it's not pretty nor precise; feel free to improve.
2021-01-13 14:05:45 +01:00
Sandro 9534559209 Merge pull request #109264 from 06kellyjac/terragrunt
terragrunt: 0.27.0 -> 0.27.1
2021-01-13 14:05:14 +01:00
Sandro 0d1a657a25 Merge pull request #109142 from freezeboy/remove-postinstall-amfora
amfora: remove unnecessary postInstall phase for darwin
2021-01-13 14:04:33 +01:00
Sandro 8b59c33807 Merge pull request #107142 from 06kellyjac/tektoncd-cli
tektoncd-cli: 0.14.0 -> 0.15.0
2021-01-13 14:01:48 +01:00
Sandro c05e2bc529 Merge pull request #109115 from charvp/pr/bump-gomuks
gomuks: 0.2.1 -> 0.2.2
2021-01-13 14:01:19 +01:00
Sandro 45c1428afa Merge pull request #109259 from oxzi/pytmx-3.24.0
pytmx: 3.22.0 -> 3.24.0
2021-01-13 14:00:57 +01:00
Thiago Kenji Okada cd15b3a30a nixos/libinput: separate settings by mouse/touchpad
This commits deprecates `services.xserver.libinput` for multiple
settings, one for each kind of device:

- `services.xserver.libinput.mouse`
- `services.xserver.libinput.touchpad`

Looking at `man 4 libinput`, they basically have the same options so I
simply replicated them, even if some options doesn't make sense for
mouse (`tapping` for example).

With this commit this is now possible:

```nix
{
  services.xserver.libinput = {
    enable = true;
    mouse = {
      accelProfile = "flat";
    };
    touchpad = {
      naturalScrolling = true;
    };
  };
}
```

And you will have a mouse with no natural scrolling but with accel
profile flat, while touchpad will have natural scrolling but accel
profile adaptative (default).

It is possible to support more device types
(tablets/keyboards/touchscreens), but at least looking at the
libinput manual for those devices it doesn't seem that it has any
configuration options for them. They can still be configured using
`services.xserver.inputClassSections` though, and this will work now
since there is no rule by default that matches them.

Closes issue #75007, while also making configuration of mouses and
touchpads using Nix attrs possible like said in PR #73785.
2021-01-13 09:54:28 -03:00
Fabian Möller 07e7cea102 python36: enable ctypes.util.find_library patch 2021-01-13 13:13:02 +01:00
Fabian Affolter c0f8f06241 home-assistant: update component-packages 2021-01-13 13:06:11 +01:00
Eduardo Sánchez Muñoz b249fd1b46 ruffle: nightly-2020-11-30 -> nightly-2021-01-12 2021-01-13 12:44:51 +01:00
Fabian Affolter f90920cc2c python3Packages.pyfnip: init at 0.2 2021-01-13 12:42:47 +01:00
Fabian Affolter 6e31a9a2d0 python3Packages.faker: adjust requirements and check part 2021-01-13 12:32:42 +01:00
06kellyjac 859a64428d tokei: 12.1.1 -> 12.1.2 2021-01-13 11:26:09 +00:00
Justin Humm 073ddd892e contributing.md: Change labels for backported PRs
This is somewhat convention already and it makes keeping track of
missing backports a lot easier.
2021-01-13 12:19:19 +01:00
Sandro fa0253297e Merge pull request #109258 from oxzi/go-shadowsocks2-0.1.3
go-shadowsocks2: 0.0.11 -> 0.1.3
2021-01-13 12:11:54 +01:00
Sandro ebb5191ab4 Merge pull request #109254 from fabaff/bump-tld 2021-01-13 12:11:19 +01:00
Sandro 568a5bb6b8 Merge pull request #108911 from davegallant/awscli2-2.1.17
awscli2: 2.1.7 -> 2.1.17
2021-01-13 12:08:00 +01:00
Monson Shao 5f6e6516e0 darwin.hfs: mark broken 2021-01-13 19:05:21 +08:00
Сухарик 5b224ab564 droidcam: 1.6 -> 1.7 2021-01-13 14:03:29 +03:00
Maximilian Bosch 59948467c8 matrix-synapse: 1.24.0 -> 1.25.0
https://github.com/matrix-org/synapse/releases/tag/v1.25.0
2021-01-13 12:02:46 +01:00
06kellyjac 2525c0252e terragrunt: 0.27.0 -> 0.27.1 2021-01-13 10:54:37 +00:00
Mark Vainomaa b451286b1f docker: 19.03.4 -> 20.10.2 (#108960)
This commit refactors the build process to handle Docker engine and
CLI split.
2021-01-13 11:33:14 +01:00
Yurii Matsiuk 63960b3b30 fluxcd: 0.5.0 -> 0.5.9 2021-01-13 10:58:53 +01:00
Charlotte Van Petegem da9395cf8f gomuks: 0.2.1 -> 0.2.2 2021-01-13 10:52:50 +01:00
Alvar PenningandSandro 169b955b76 pytmx: 3.22.0 -> 3.24.0
The Python 2.7 support was dropped upstream.

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-13 10:51:23 +01:00
Sandro e6a184aca0 Merge pull request #108777 from fabaff/bump-pyhaversion 2021-01-13 10:15:18 +01:00
Alvar Penning 7c395b756d go-shadowsocks2: 0.0.11 -> 0.1.3 2021-01-13 10:12:29 +01:00
adisbladis f2380fe2ee Merge pull request #109246 from adisbladis/emacs-packages-2021-01-13
emacsPackages: Bump to 2021-01-13
2021-01-13 10:11:57 +01:00
sternenseemann 5a23270202 ocamlPackages.dns*: 4.6.2 -> 4.6.3 2021-01-13 10:08:15 +01:00
Jörg Thalheim dbb48b45a5 Merge pull request #107961 from KAction/par-static
par: fix static build
2021-01-13 09:05:40 +00:00
Jörg Thalheim 11033cbb6b par: fix build 2021-01-13 10:00:45 +01:00
sternenseemann c955b30d4c dune-release: fix tests for newer git versions
Newer git versions show a hint when calling `git init` to set the
default initial branch to something like 'main'. This obviously is
printed to stderr and thus not hidden by `> /dev/null`. We fix the
ensuing test failure by setting a branch in the invocation.
2021-01-13 09:54:56 +01:00
Vincent Laporte 273a4ec57e ocamlPackages.charInfo_width: use Dune 2 2021-01-13 09:49:20 +01:00
Vincent Laporte 0476529037 ocamlPackages.zed: refactor
Remove legacy version 1.4 (whose evaluation actually fails)

Refactor with `buildDunePackage`

Use dune 2
2021-01-13 09:49:20 +01:00
freezeboy 5a15487897 amfora: remove unnecessary postInstall phase for darwin 2021-01-13 09:34:40 +01:00
Fabian Affolter 31b4ce9d67 python3Packages.faker: 4.18.0 -> 5.5.1 2021-01-13 09:26:03 +01:00
Sandro c36b928f4f Merge pull request #108993 from flokli/nufraw-gimp
remove ufraw and the gimp plugin
2021-01-13 09:19:39 +01:00
sternenseemann d96c347f9d ocamlPackages.nonstd: fix fetch error by using fetchzip 2021-01-13 09:19:22 +01:00
Sandro e12409de89 Merge pull request #108959 from mikroskeem/docker-proxy-update
docker-proxy: 7b2b1fe -> fa125a3
2021-01-13 09:18:19 +01:00
Sandro 8b5d1a9e74 Merge pull request #109097 from sternenseemann/lowdown-0.7.9
lowdown: 0.7.5 -> 0.7.9
2021-01-13 09:16:33 +01:00
Fabian Affolter d155274fb2 python3Packages.tld: update meta, especially license 2021-01-13 09:12:46 +01:00
Fabian Affolter b5556fe6b4 python3Packages.tld: update check part 2021-01-13 09:08:47 +01:00
Vincent Laporte 2cc958d764 ocamlPackages.lens: 1.2.3 → 1.2.4 2021-01-13 09:00:33 +01:00
Sandro fc748c2e87 Merge pull request #109237 from benley/dex-2.27.0
dex-oidc: 2.23.0 -> 2.27.0
2021-01-13 08:59:35 +01:00