Am Sonntag, 13. Januar 2013 schrieb Ludovic Courtès:

> Can you check whether it actually works? :-)

 

Unfortunately not. Here is the exact diff:

 

diff --git a/distro/packages/cyrus-sasl.scm b/distro/packages/cyrus-sasl.scm

index aacf627..d280242 100644

--- a/distro/packages/cyrus-sasl.scm

+++ b/distro/packages/cyrus-sasl.scm

@@ -1,4 +1,5 @@

;;; GNU Guix --- Functional package management for GNU

+;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>

;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>

;;;

;;; This file is part of GNU Guix.

@@ -42,6 +43,20 @@

("mit-krb5" ,mit-krb5)

("openssl" ,openssl)

))

+ (arguments

+ (lambda (system)

+ `(#:phases

+ (alist-replace

+ 'configure

+ (lambda* (#:key outputs #:allow-other-keys #:rest args)

+ (let ((out (assoc-ref outputs "out"))

+ (configure (assoc-ref %standard-phases 'configure)))

+ (apply configure

+ #:configure-flags

+ (list (string-append "--with-plugindir="

+ out "/lib/sasl2"))

+ args)))

+ %standard-phases))))

(synopsis "Cyrus SASL, an implementation of the Simple Authentication Security Layer framework")

(description

"SASL (Simple Authentication Security Layer) is an Internet

 

Apparently, the configure flag is not taken into account, since building outputs the following:

 

...

starting phase `configure'

source directory: "/tmp/nix-build-cyrus-sasl-2.1.26.drv-0/cyrus-sasl-2.1.26" (relative from build: ".")

build directory: "/tmp/nix-build-cyrus-sasl-2.1.26.drv-0/cyrus-sasl-2.1.26"

configure flags: ("CONFIG_SHELL=/nix/store/ryk1ywzz31kp4biclxq3yq6hpjycalyy-bash-4.2/bin/bash" "SHELL=/nix/store/ryk1ywzz31kp4biclxq3yq6hpjycalyy-bash-4.2/bin/bash" "--prefix=/nix/store/5prlq6fzg0hqav29pqgjxfpz1kdqcaws-cyrus-sasl-2.1.26" "--enable-fast-install")

...

 

And the same warning message reappears.

 

Andreas