summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2023-01-20 16:57:27 +0100
committerLars-Dominik Braun <lars@6xq.net>2023-02-26 10:20:14 +0100
commit9262c14d73b4b216bb9c1f76fb6b3a9709da1de3 (patch)
treed9b1483a3de19d7c5482f806bf02e5f18372b6a0
parent39c97cf3d03e2a5f7929654ecf92e92ab03bb953 (diff)
downloadguix-9262c14d73b4b216bb9c1f76fb6b3a9709da1de3.tar.gz
build: haskell-build-system: Remove unused linker flags.
They were inserted as-is, without expandind variables into binaries.

* guix/build/haskell-build-system.scm (configure): Remove --ghc-option.
-rw-r--r--guix/build/haskell-build-system.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/guix/build/haskell-build-system.scm b/guix/build/haskell-build-system.scm
index 72e12ba746..759d3c5d17 100644
--- a/guix/build/haskell-build-system.scm
+++ b/guix/build/haskell-build-system.scm
@@ -103,8 +103,6 @@ and parameters ~s~%"
                    "--enable-shared"
                    "--enable-executable-dynamic"
                    "--ghc-option=-fPIC"
-                   ,(string-append "--ghc-option=-optl=-Wl,-rpath=" (or lib out)
-                                   "/lib/$compiler/$pkg-$version")
                    ,@configure-flags)))
     ;; Cabal errors if GHC_PACKAGE_PATH is set during 'configure', so unset
     ;; and restore it.