[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/12: gnu: ghc-lua: Disable symbol export.
From: |
guix-commits |
Subject: |
03/12: gnu: ghc-lua: Disable symbol export. |
Date: |
Sun, 29 Jan 2023 13:06:04 -0500 (EST) |
lbraun pushed a commit to branch wip-haskell
in repository guix.
commit 4ab96ddac80a65db2279ba58abb1a7b220a14848
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Jan 29 18:58:45 2023 +0100
gnu: ghc-lua: Disable symbol export.
This turns on the linker flag -Wl,-E for all libraries depending on it,
resulting in large binaries, because --gc-sections cannot clean exported
symbols.
* gnu/packages/haskell-xyz.scm (ghc-lua)[arguments]: Disable
export-dynamic feature.
---
gnu/packages/haskell-xyz.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 3efde02932..0a6efedd29 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -15452,6 +15452,9 @@ embeddable scripting language <https://lua.org Lua>.")
"07wni3ji46ndqabwffgwzij2jk34dq2d66z15hcd6jg33sqnym45"))))
(build-system haskell-build-system)
(properties '((upstream-name . "lua")))
+ (arguments
+ ;; Allow creating fully static binaries. Avoids issues with linking
pandoc statically.
+ `(#:configure-flags (list "-f-export-dynamic")))
(native-inputs (list ghc-tasty ghc-tasty-hunit))
(home-page "https://hslua.org/")
(synopsis "Lua, an embeddable scripting language")
- branch wip-haskell updated (b3a338d427 -> e4e5c00a66), guix-commits, 2023/01/29
- 01/12: build-system: haskell: Drop default "static" output., guix-commits, 2023/01/29
- 03/12: gnu: ghc-lua: Disable symbol export.,
guix-commits <=
- 02/12: gnu: ghc-9.2: Support static linking with glibc < 2.34., guix-commits, 2023/01/29
- 04/12: build: haskell-build-system: Build static executables by default., guix-commits, 2023/01/29
- 08/12: gnu: git-annex: Drop Haskell documentation., guix-commits, 2023/01/29
- 09/12: gnu: shellcheck: Drop Haskell libraries., guix-commits, 2023/01/29
- 10/12: gnu: pandoc: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 12/12: gnu: xmobar: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 07/12: gnu: darcs: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 05/12: gnu: ngless: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 06/12: gnu: hledger: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 11/12: gnu: purescript: Drop Haskell libraries and documentation., guix-commits, 2023/01/29