FS#60490 - [nim] cannot compile with 0.19.0 due to config file search path changes
Attached to Project:
Community Packages
Opened by nvill (nvill) - Friday, 19 October 2018, 09:42 GMT
Last edited by freswa (frederik) - Sunday, 27 September 2020, 11:56 GMT
Opened by nvill (nvill) - Friday, 19 October 2018, 09:42 GMT
Last edited by freswa (frederik) - Sunday, 27 September 2020, 11:56 GMT
|
Details
Description:
Nim config file search paths changed in 0.19.0 (https://nim-lang.org/docs/nimc.html#compiler-usage-configuration-files). The *.cfg files in /etc needs a /etc/nim/ subdir or the compiler won't find lib files. Additional info: * nim 0.19.0-1 Steps to reproduce: Install and compile any Nim source containing imports. |
This task depends upon
Closed by freswa (frederik)
Sunday, 27 September 2020, 11:56 GMT
Reason for closing: Fixed
Additional comments about closing: nim 1.0.2-1
Sunday, 27 September 2020, 11:56 GMT
Reason for closing: Fixed
Additional comments about closing: nim 1.0.2-1
--- PKGBUILD 2018-12-03 09:34:30.527421009 +0100
+++ PKGBUILD_new 2018-12-03 09:25:43.942529877 +0100
@@ -12,7 +12,7 @@
url='https://nim-lang.org/'
arch=('x86_64')
license=('MIT')
-depends=('python' 'bash')
+depends=('bash')
options=('!emptydirs')
backup=(
etc/nim.cfg
@@ -76,7 +76,7 @@
# Fix
FS#48118, related to the doc2 commandln -s /usr/share/nim/doc "${pkgdir}/usr/lib/nim/doc"
- install -Dm 644 config/* -t "${pkgdir}/etc"
+ install -Dm 644 config/* -t "${pkgdir}/etc/nim"
install -Dm 755 bin/* tools/nimgrep nimsuggest/nimsuggest -t "${pkgdir}/usr/bin"
# Fix
FS#50252, unusual placement of header files[1] https://github.com/archlinux/svntogit-community/commit/4d731d61bda2333d427585ac970b231ce745bae4