guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/44: haskell-build-system: register: Respect lib output.


From: guix-commits
Subject: 06/44: haskell-build-system: register: Respect lib output.
Date: Thu, 13 Aug 2020 09:26:28 -0400 (EDT)

rekado pushed a commit to branch wip-haskell
in repository guix.

commit 75bda3c648ae06a08c7512240698837ddf297182
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jun 16 22:32:09 2020 +0200

    haskell-build-system: register: Respect lib output.
    
    * guix/build/haskell-build-system.scm (register): Use lib output if it 
exists.
---
 guix/build/haskell-build-system.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/haskell-build-system.scm 
b/guix/build/haskell-build-system.scm
index 46104cf..86681bb 100644
--- a/guix/build/haskell-build-system.scm
+++ b/guix/build/haskell-build-system.scm
@@ -246,7 +246,7 @@ given Haskell package."
   (let* ((out (assoc-ref outputs "out"))
          (haskell  (assoc-ref inputs "haskell"))
          (name-verion (strip-store-file-name haskell))
-         (lib (string-append out "/lib"))
+         (lib (string-append (or (assoc-ref outputs "lib") out) "/lib"))
          (config-dir (string-append lib
                                     "/" name-verion
                                     "/" name ".conf.d"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]