Package Details: nimble-git 1:0.19.0.r145.g14925ee8b-1

Git Clone URL: https://aur.archlinux.org/nim-git.git (read-only)
Package Base: nim-git
Description: Package manager for the Nim programming language
Upstream URL: https://github.com/nim-lang/nimble
Licenses: BSD
Groups: nim
Conflicts: nimble
Provides: nimble
Submitter: atweiden
Maintainer: devopsdeluxe
Last Packager: devopsdeluxe
Votes: 3
Popularity: 0.000007
First Submitted: 2016-04-05 20:14
Last Updated: 2018-10-12 15:39

Dependencies (1)

Required by (4)

Sources (5)

Pinned Comments

devopsdeluxe commented on 2018-09-24 19:43

Looking for co-maintainers!

Shoot me an email if you're interested.

Latest Comments

1 2 Next › Last »

devopsdeluxe commented on 2018-09-24 19:43

Looking for co-maintainers!

Shoot me an email if you're interested.

devopsdeluxe commented on 2018-09-24 19:41

@haawda This will be fixed in pkgrel=2, as it relates to @ferion's comment.

Should have it pushed in the next 15 minutes or so!

Edit: Fixed! The next error:

install.nim(2, 20) Error: undeclared identifier: 'SystemError'
make: *** [Makefile:117: lib/tools] Error 1
make: *** Waiting for unfinished jobs....
utils.nim(222, 26) Error: undeclared identifier: 'SystemError'
make: *** [Makefile:123: src/pakku] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Is related to: https://github.com/nim-lang/Nim/blob/6e83746caabca00ab2b97a81bd732de4588996fe/changelog.md

The exception hierarchy was slightly reworked, SystemError was renamed to CatchableError and is the new base class for any exception that is guaranteed to be catchable. This change should have minimal impact on most existing Nim code.

haawda commented on 2018-09-22 09:14

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

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

-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

devopsdeluxe commented on 2018-08-18 18:01

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.

devopsdeluxe commented on 2018-08-08 15:24

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

@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

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

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