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.
This commit is contained in:
Lars-Dominik Braun 2023-01-20 16:57:27 +01:00
parent 39c97cf3d0
commit 9262c14d73
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -103,8 +103,6 @@ (define* (configure #:key outputs inputs tests? (configure-flags '())
"--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.