summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-06-16 22:32:09 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-08-12 14:45:49 +0200
commit75bda3c648ae06a08c7512240698837ddf297182 (patch)
tree01fb3fc44dc14a32d5a39ae4659d24bd66ed89e4 /guix
parent718dc7d4a5e5d26cac80c79d78535677e0379dc8 (diff)
haskell-build-system: register: Respect lib output.
* guix/build/haskell-build-system.scm (register): Use lib output if it exists.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/haskell-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/haskell-build-system.scm b/guix/build/haskell-build-system.scm
index 46104cfb19..86681bb7a7 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"))