Skip to content

Commit

Permalink
libassuan: use config flag to specify libgpg-error prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
illegalprime authored and FRidh committed Apr 16, 2019
1 parent 19094e7 commit a7d2d7d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/development/libraries/libassuan/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, gettext, pth, libgpgerror }:
{ fetchurl, stdenv, gettext, pth, libgpgerror, buildPackages }:

stdenv.mkDerivation rec {
pname = "libassuan";
Expand All @@ -12,7 +12,12 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "info" ];
outputBin = "dev"; # libassuan-config

buildInputs = [ libgpgerror pth gettext];
depsBuildBuild = [ buildPackages.stdenv.cc ];
buildInputs = [ pth gettext ];

configureFlags = [
"--with-libgpg-error-prefix=${libgpgerror.dev}"
];

doCheck = true;

Expand Down

0 comments on commit a7d2d7d

Please sign in to comment.