aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/gsasl
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-03-03 10:34:20 +0100
committerAndreas Rammhold <andreas@rammhold.de>2020-03-03 10:36:52 +0100
commit6eb3154ff6b18eaf6c769d8c981c25a59a306e09 (patch)
tree09c09997ebd9d61da84c709728715fcc3d3bf773 /pkgs/development/libraries/gsasl
parenta8e06a8e899394083e58585adeef59d88a0852a7 (diff)
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
Diffstat (limited to 'pkgs/development/libraries/gsasl')
-rw-r--r--pkgs/development/libraries/gsasl/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/libraries/gsasl/default.nix b/pkgs/development/libraries/gsasl/default.nix
index 899aa116b2ca..c5e1deea6e12 100644
--- a/pkgs/development/libraries/gsasl/default.nix
+++ b/pkgs/development/libraries/gsasl/default.nix
@@ -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/;