[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/44: build-system/haskell: Do not pass "--bindir" during configure.
From: |
guix-commits |
Subject: |
09/44: build-system/haskell: Do not pass "--bindir" during configure. |
Date: |
Thu, 13 Aug 2020 10:46:30 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit aa1a75cc0ef2bf73f1a11d6123b48641e770016d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jun 24 23:12:06 2020 +0200
build-system/haskell: Do not pass "--bindir" during configure.
The "--bindir" option is not as useful as it seems as the configured
location
is embedded in the outputs. Instead of using "--bindir" it seems better to
build a statically linked binary and move the binary to its own output to
avoid references between the "out" and "bin" outputs.
* guix/build/haskell-build-system.scm (configure): Do not pass "--bindir".
---
guix/build/haskell-build-system.scm | 2 --
1 file changed, 2 deletions(-)
diff --git a/guix/build/haskell-build-system.scm
b/guix/build/haskell-build-system.scm
index d7789cd..28253ce 100644
--- a/guix/build/haskell-build-system.scm
+++ b/guix/build/haskell-build-system.scm
@@ -78,13 +78,11 @@ and parameters ~s~%"
(let* ((out (assoc-ref outputs "out"))
(doc (assoc-ref outputs "doc"))
(lib (assoc-ref outputs "lib"))
- (bin (assoc-ref outputs "bin"))
(name-version (strip-store-file-name out))
(extra-dirs (filter-map (cut assoc-ref inputs <>) extra-directories))
(ghc-path (getenv "GHC_PACKAGE_PATH"))
(params `(,(string-append "--prefix=" out)
,(string-append "--libdir=" (or lib out) "/lib")
- ,(string-append "--bindir=" (or bin out) "/bin")
,(string-append "--docdir=" (or doc out)
"/share/doc/" name-version)
"--libsubdir=$compiler/$pkg-$version"
- branch wip-haskell created (now e380ef1), guix-commits, 2020/08/13
- 01/44: gnu: Add ghc-8.8., guix-commits, 2020/08/13
- 02/44: build-system/haskell: Support parallel builds., guix-commits, 2020/08/13
- 03/44: build-system/haskell: Refactor configure step., guix-commits, 2020/08/13
- 04/44: build-system/haskell: Configure to link with shared libraries., guix-commits, 2020/08/13
- 05/44: build-system/haskell: Add default output "static"., guix-commits, 2020/08/13
- 09/44: build-system/haskell: Do not pass "--bindir" during configure.,
guix-commits <=
- 10/44: gnu: Add "static" output to Haskell packages with custom outputs., guix-commits, 2020/08/13
- 08/44: build-system/haskell: Add 'extra-directories' keyword., guix-commits, 2020/08/13
- 06/44: haskell-build-system: register: Respect lib output., guix-commits, 2020/08/13
- 07/44: haskell-build-system: register: Remove references to the doc output., guix-commits, 2020/08/13
- 14/44: gnu: ghc-cryptonite: Add "doc" output., guix-commits, 2020/08/13
- 24/44: gnu: ghc-foundation: Add "doc" output., guix-commits, 2020/08/13
- 18/44: gnu: ghc-base-compat: Add "doc" output., guix-commits, 2020/08/13
- 21/44: gnu: ghc-cmdargs: Add "doc" output., guix-commits, 2020/08/13
- 25/44: gnu: ghc-free: Add "doc" output., guix-commits, 2020/08/13
- 26/44: gnu: ghc-generic-deriving: Add "doc" output., guix-commits, 2020/08/13