Fixed missing packages.json file

This commit is contained in:
RealStickman 2023-05-25 19:36:42 +02:00
parent 82016e6ba4
commit ef6ce30177

View File

@ -20,6 +20,8 @@ prepare() {
# patching
cd "$srcdir/${pkgname%-git}"
patch --strip=2 < ../../nimlangserver.patch # work around "Error: cannot open file: /usr/compiler/pathutils" https://github.com/nim-lang/langserver/issues/22
# download packages.json file
nimble refresh
}
pkgver() {
@ -28,7 +30,6 @@ pkgver() {
}
build() {
# FIXME missing "packages.json" file
# change into source
cd "$srcdir/${pkgname%-git}"
# compile program