Skip to content

Commit

Permalink
Revert "libassuan: Use automatically detected libgpg-error"
Browse files Browse the repository at this point in the history
This reverts commit 2d44dc9.

Cross-compilation only works if we set --with-libgpg-error-prefix,
which is why that flag was there in the first place[1].  Unfortunately
this was not noted in the commit message that added it, which made it
difficult to discover…

[1]: NixOS#57815
  • Loading branch information
alyssais committed Feb 2, 2023
1 parent fffb187 commit 14d9512
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/libraries/libassuan/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ stdenv.mkDerivation rec {
outputBin = "dev"; # libassuan-config

depsBuildBuild = [ buildPackages.stdenv.cc ];
buildInputs = [ npth gettext libgpg-error ];
buildInputs = [ npth gettext ];

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

doCheck = true;

Expand Down

0 comments on commit 14d9512

Please sign in to comment.