Package Details: nim-gdb-git 1:1.6.8.r1359.a852b2e9cf-1

Git Clone URL: https://aur.archlinux.org/nim-git.git (read-only, click to copy)
Package Base: nim-git
Description: GDB pretty printing for Nim language.
Upstream URL: https://github.com/nim-lang/Nim
Licenses: MIT
Groups: nim
Conflicts: nimp-gdb
Provides: nim-gdb
Submitter: atweiden
Maintainer: 0x647262 (chenrry666)
Last Packager: chenrry666
Votes: 9
Popularity: 0.005587
First Submitted: 2016-04-05 20:14 (UTC)
Last Updated: 2023-05-20 16:26 (UTC)

Pinned Comments

0x647262 commented on 2018-09-24 19:43 (UTC)

Looking for co-maintainers!

Shoot me an email if you're interested.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

haawda commented on 2018-09-22 09:14 (UTC)

Compiling pakku-git with nim-git fails with

==> Making package: pakku-git 0.13r6.gb7666cb-1 (Sat Sep 22 11:13:01 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating pakku git repo...
Fetching origin
==> Validating source files with sha256sums...
    pakku ... Skipped
==> Extracting sources...
  -> Creating working copy of pakku git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
NIM: lib/tools
tools.nim(1, 8) Error: cannot open file: os
make: *** [Makefile:117: lib/tools] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

The same works fine with the stable nim.

eschwartz commented on 2018-09-07 03:31 (UTC)

Note that in order to properly upgrade to the new version scheme you'll need to use an epoch.

ferion commented on 2018-08-25 19:39 (UTC)

-d:useGnuReadline is also no longer supported by koch so I used -d:useLinenoise Also note that nim will check config files in /etc/nim/ now, otherwise nim will not know about the libraries in /usr/lib/nim https://github.com/nim-lang/Nim/issues/8653

0x647262 commented on 2018-08-18 18:01 (UTC) (edited on 2018-08-18 18:07 (UTC) by 0x647262)

This package no longer builds in a clean chroot:

Hint: operation successful (122109 lines compiled; 14.481 sec total; 411.09MiB peakmem; Release Build) [SuccessX]
iteration: 2
compiler/nim1 c -d:release -d:nativeStacktrace -d:useGnuReadline --nimcache:nimcache/r_linux_amd64 compiler/nim.nim
Hint: used config file '/build/nim-git/src/Nim/config/nim.cfg' [Conf]
Hint: used config file '/build/nim-git/src/Nim/compiler/nim.cfg' [Conf]
Hint: system [Processing]
lib/system/excpt.nim(310, 9) Error: type mismatch: got <nil> but expected 'seq[StackTraceEntry]'
FAILURE
==> ERROR: A failure occurred in build().
    Aborting...

This seems to be related to the following line:

./koch boot -d:release -d:nativeStacktrace -d:useGnuReadline

Utilizing two options that no longer seem supported by koch: https://github.com/nim-lang/Nim/blob/devel/koch.nim#L46

EDIT: Removing -d:nativeStacktrace fixes the build.

0x647262 commented on 2018-08-08 15:24 (UTC) (edited on 2018-08-08 15:25 (UTC) by 0x647262)

The pkgver() function should be replaced with the following:

pkgver() {
  cd "$pkgname"
  git describe --long --tags           \
    | sed 's/\([^-]*-g\)/r\1/;s/-/./g' \
    | sed 's/v//'
}

Which (currently) yields: 0.18.0.r1001.g506418ef5

alaviss commented on 2018-05-03 06:22 (UTC)

@ibrokemypie

You have to build nim-git with docs generation disabled first, then rebuild with docs after you've installed nim-git.

ibrokemypie commented on 2018-04-22 06:55 (UTC)

Currently failing to build with

manual_snippet_122.nim(4, 20) Error: undeclared identifier: 'ForLoopStmt'
Error: execution of an external program failed: 'nim c doc/nimcache/manual/manual_snippet_122.nim'

Error: execution of an external program failed: '/tmp/makepkg/nim-git/src/Nim/tools/nimweb --pdf web/website.ini --putenv:nimversion=0.18.1'
FAILURE
==> ERROR: A failure occurred in build().
    Aborting...

greenmanalishi commented on 2017-07-08 19:01 (UTC) (edited on 2017-07-08 19:07 (UTC) by greenmanalishi)

Any update for nimsuggest being moved to the main repo? Also 'texlive-fontsextra' is a huge package could this dep be avoided?

shiva commented on 2017-02-28 06:35 (UTC)

Thanks for this! How do we get https://www.archlinux.org/packages/community/x86_64/nim/ replaced with your changes?

atweiden commented on 2017-01-24 06:35 (UTC)

thanks @hcorion, updated