summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2017-03-21 23:50:53 +0100
committerMichael Weiss <dev.primeos@gmail.com>2017-03-21 23:57:57 +0100
commit4e296383236cb8ba443a08704a44140aaef6eba7 (patch)
treeb35cee261535594c8148008be94c1fdb393328ec
parent242031a34e27b626832ee86f884db27266b6c12e (diff)
downloadnixlib-4e296383236cb8ba443a08704a44140aaef6eba7.tar
nixlib-4e296383236cb8ba443a08704a44140aaef6eba7.tar.gz
nixlib-4e296383236cb8ba443a08704a44140aaef6eba7.tar.bz2
nixlib-4e296383236cb8ba443a08704a44140aaef6eba7.tar.lz
nixlib-4e296383236cb8ba443a08704a44140aaef6eba7.tar.xz
nixlib-4e296383236cb8ba443a08704a44140aaef6eba7.tar.zst
nixlib-4e296383236cb8ba443a08704a44140aaef6eba7.zip
Revert "gpgme: Drop multiple outputs (dev and info)"
This reverts commit 872770286d04cadb9816cd1665d3d5f17adce456.

This will fix fwknop as well (should have done it like this in the first
place, where was my mind...).

Conclusion: Did something stupid... :o - I am *so incredibly sorry*,
will be way more careful (was already careful, but apparently not
enought...) next time and use nox.

Sorry @everyone and thanks @calvertvl for noticing this.
-rw-r--r--pkgs/development/libraries/gpgme/default.nix3
-rw-r--r--pkgs/tools/security/fwknop/default.nix4
2 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gpgme/default.nix b/pkgs/development/libraries/gpgme/default.nix
index e4bb0c52c771..2ab0977004c4 100644
--- a/pkgs/development/libraries/gpgme/default.nix
+++ b/pkgs/development/libraries/gpgme/default.nix
@@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
     sha256 = "0csx3qnycwm0n90ql6gs65if5xi4gqyzzy21fxs2xqicghjrfq2r";
   };
 
+  outputs = [ "out" "dev" "info" ];
+  outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool
+
   propagatedBuildInputs = [ libgpgerror glib libassuan pth ];
 
   nativeBuildInputs = [ pkgconfig gnupg ];
diff --git a/pkgs/tools/security/fwknop/default.nix b/pkgs/tools/security/fwknop/default.nix
index 325d220a5235..823bdbbffb5d 100644
--- a/pkgs/tools/security/fwknop/default.nix
+++ b/pkgs/tools/security/fwknop/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoreconfHook ];
   buildInputs = [ libpcap texinfo ]
-    ++ stdenv.lib.optional gnupgSupport [ gnupg gpgme ]
+    ++ stdenv.lib.optional gnupgSupport [ gnupg gpgme.dev ]
     ++ stdenv.lib.optional wgetSupport [ wget ];
 
   configureFlags = ''
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
     ${lib.optionalString (!buildClient) "--disable-client"}
     ${lib.optionalString gnupgSupport ''
       --with-gpgme
-      --with-gpgme-prefix=${gpgme}
+      --with-gpgme-prefix=${gpgme.dev}
       --with-gpg=${gnupg}
     ''}
     ${lib.optionalString wgetSupport ''