diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-06-24 23:12:06 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-08-13 16:44:56 +0200 |
commit | aa1a75cc0ef2bf73f1a11d6123b48641e770016d (patch) | |
tree | 33386f1d99910eff9edb1df2510cf9179af4d3f4 /guix | |
parent | 54a5fd0791f15108d7c06f0b439e75e049fde249 (diff) |
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".
Diffstat (limited to 'guix')
-rw-r--r-- | guix/build/haskell-build-system.scm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guix/build/haskell-build-system.scm b/guix/build/haskell-build-system.scm index d7789cdef9..28253ce2f0 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" |