Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Doug Newgard (Scimmia) - Sunday, 21 October 2018, 14:43 GMT
Task Type Bug Report
Category Packages: Testing
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


Nim config file search paths changed in 0.19.0 ( 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

Comment by nvill (nvill) - Friday, 19 October 2018, 09:44 GMT
Btw, python is no longer a requirement for building nim.
Comment by nvill (nvill) - Monday, 03 December 2018, 08:36 GMT
FWIW, here's a diff for a working version

--- PKGBUILD 2018-12-03 09:34:30.527421009 +0100
+++ PKGBUILD_new 2018-12-03 09:25:43.942529877 +0100
@@ -12,7 +12,7 @@
-depends=('python' 'bash')
@@ -76,7 +76,7 @@
# Fix  FS#48118 , related to the doc2 command
ln -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
Comment by anonymous (Austaras) - Friday, 28 June 2019, 08:11 GMT
Hey it's now 2019.06 why this hasn't been fixed yet? What's holding it back?