3
0
Fork 0
forked from mirrors/nixpkgs

gsasl: export LOCALDOMAIN before running tests

Recently kerberos added a code path that relies ont he local domain part
to be available. See [hydra] for the recent build failure and [github]
for a brief analysis of the error.

[hydra] https://hydra.nixos.org/build/113717403
[github]:
  - https://github.com/NixOS/nixpkgs/pull/81531#issuecomment-593840860
  - https://github.com/NixOS/nixpkgs/pull/81531#issuecomment-593853565
This commit is contained in:
Andreas Rammhold 2020-03-03 10:34:20 +01:00
parent a8e06a8e89
commit 6eb3154ff6
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -12,16 +12,19 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-gssapi-impl=mit" ];
preCheck = ''
export LOCALDOMAIN="dummydomain"
'';
doCheck = !stdenv.hostPlatform.isDarwin;
meta = {
description = "GNU SASL, Simple Authentication and Security Layer library";
longDescription =
'' GNU SASL is a library that implements the IETF Simple
Authentication and Security Layer (SASL) framework and
some SASL mechanisms. SASL is used in network servers
(e.g. IMAP, SMTP, etc.) to authenticate peers.
'' GNU SASL is a library that implements the IETF Simple
Authentication and Security Layer (SASL) framework and
some SASL mechanisms. SASL is used in network servers
(e.g. IMAP, SMTP, etc.) to authenticate peers.
'';
homepage = https://www.gnu.org/software/gsasl/;