diff --git a/nix/overlay.nix b/nix/overlay.nix index 0ca1e1f163f..fd234a1fd0a 100644 --- a/nix/overlay.nix +++ b/nix/overlay.nix @@ -3,7 +3,11 @@ let in self: super: { - gpgme = (static super.gpgme); + gpgme = (static super.gpgme).overrideAttrs (x: { + # Drop the --enable-fixed-path: + # https://github.com/nixos/nixpkgs/blob/9a79bc99/pkgs/development/libraries/gpgme/default.nix#L94 + configureFlags = self.lib.lists.remove "--enable-fixed-path=${self.gnupg}/bin" x.configureFlags; + }); libassuan = (static super.libassuan); libgpg-error = (static super.libgpg-error); libseccomp = (static super.libseccomp);