Andreas Enge <[email protected]> skribis:

> whatever the problem was, it apparently disappeared with your modifications 
> to the openssl package. Now cyrus-sasl compiles; I am attaching a patch to 
> add the package.

Good.  :-)

> * Plugins are being installed into 
> /nix/store/xckxs4vgmzjj883qppsdbv1y4ycqzrva-cyrus-sasl-2.1.26/lib/sasl2,
> * but the library will look for them in /usr/lib/sasl2.

I just checked, and Nixpkgs passed --with-plugindir=$out/lib/sasl2, so I
think you need a configure phase like:

  #:phase (alist-replace
           'configure
           (lambda* (#:keys 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)
               
Can you check whether it actually works?  :-)

Ludo’.

Reply via email to