nixpkgs/pkgs
aszlig d1a2853933
pinentry: Fix .override for pinentry_*
When you evaluate nixos/tests/simple.nix, you'll run into an infinite
recursion since 41b140cb25.

The reason is that udisks2 now pulls in gnupg because it now depends on
libblockdev, which in turn depends on volume_key and that depends on
gnupg.

Nevertheless, it's not the real reason, because this only means, that
since gnupg is now pulled into the closure of a basic nixos
configuration the real problem becomes visible:

In nixos/modules/config/no-x-libs.nix there is an overlay which does
something like this:

  nixpkgs.overlays = singleton (const (super: {
    pinentry = super.pinentry_ncurses;
  }));

Now since pinentry_ncurses is already using pinentry.override we get an
infinite recursion because now the pinentry attribute refers to
pinentry_ncurses, which by itself is again referring to pinentry.

This is solved by using the self.pinentry.override instead, so that the
override used by pinentry_ncurses doesn't use the attribute from the
overlay.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @ttuegel
Signed-off-by: aszlig <aszlig@nix.build>
2018-06-11 20:58:58 +02:00
..
applications docker: Ensure references to go are removed from docker-containerd (#41849) 2018-06-11 19:45:34 +02:00
build-support pruneLibtoolFiles: init setup hook (#41819) 2018-06-11 18:11:02 +00:00
common-updater
data fira-mono: update url 2018-06-10 13:21:23 -05:00
desktops mate.mate-desktop: 1.20.1 -> 1.20.3 (#41548) 2018-06-09 23:44:55 +02:00
development click: fix locale in darwin 2018-06-11 14:47:48 -04:00
games dxx-rebirth: disable format hardening 2018-06-10 20:32:31 -04:00
misc dolphinEmuMaster: Enable Vulkan Dolphin did not have access to the Vulkan libs before, now it does. 2018-06-10 16:24:28 -07:00
os-specific netbsd.locale: init 2018-06-11 14:47:47 -04:00
servers mariadb galera: fix build (#41813) 2018-06-11 20:42:53 +02:00
shells antibody: 3.4.6 -> 3.5.0 (#41746) 2018-06-10 00:14:54 +02:00
stdenv Merge pull request #40933 from obsidiansystems/linux-to-darwin 2018-05-23 11:37:43 -04:00
test tests.cc-wrapper: do not test sanitizers on darwin 2018-06-06 08:01:13 +00:00
tools uim: 1.8.6-20180501-git -> 1.8.8 (#41850) 2018-06-11 19:16:53 +02:00
top-level pinentry: Fix .override for pinentry_* 2018-06-11 20:58:58 +02:00