Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Package request: NvChad
@ 2024-01-20  6:15 jaminW55
  2024-01-20  6:16 ` jaminW55
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jaminW55 @ 2024-01-20  6:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

New issue by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48296

Description:
### Package name

NvChad

### Package homepage

https://github.com/NvChad/NvChad

### Description

Neovim config written in Lua with a beautiful UI and fast startup

### Does the requested package meet the package requirements?

System, Compiled

### Is the requested package released?

Yes

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package request: NvChad
  2024-01-20  6:15 [ISSUE] Package request: NvChad jaminW55
@ 2024-01-20  6:16 ` jaminW55
  2024-01-20  6:17 ` jaminW55
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jaminW55 @ 2024-01-20  6:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48296#issuecomment-1901779201

Comment:
I've actually almost got this one working. It builds without error, but then does not install. I am not entirely certain where I went wrong and I wonder if maybe I need to include something that changes terminal fonts to nerd fonts. Please see the below template:

```
# Template file for 'nvchad'
pkgname=nvchad
version=2.0
revision=1
build_style=fetch
depends="neovim>=0.9.4 xclip"
hostmakedepends="tar"
short_desc="Neovim config written in Lua with a beautiful UI and fast startup"
maintainer="jaminW55 <jaminW55@gmail.me>"
license="GPL-3.0"
homepage="https://github.com/NvChad/NvChad"
distfiles="https://github.com/NvChad/NvChad/archive/refs/tags/v${version}.tar.gz"
checksum=78334f0bd8ec196a827c14ba9e33d2266833249a1916319d60c2ba7e20d6fba7

do_install() {
    # Force extraction of tarball
    tar -xzf "v${version}.tar.gz" -C "${wrksrc}"

    # Navigate to the directory where the source files are extracted
    cd "${wrksrc}/NvChad-${version}"

    # Create Necessary Directories
    vmkdir /usr/share/nvim/runtime
    vmkdir /usr/share/nvchad

    # Copying necessary files
    vcopy init.lua /usr/share/nvchad
    vcopy lua /usr/share/nvchad
    vcopy .stylua.toml /usr/share/nvchad

    # Copy the same files to nvim runtime directory
    vcopy init.lua /usr/share/nvim/runtime
    vcopy lua /usr/share/nvim/runtime
    vcopy .stylua.toml /usr/share/nvim/runtime
}

post_install() {
    echo "To update NvChad, run 'NvChadUpdate' inside neovim."
}
```



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package request: NvChad
  2024-01-20  6:15 [ISSUE] Package request: NvChad jaminW55
  2024-01-20  6:16 ` jaminW55
@ 2024-01-20  6:17 ` jaminW55
  2024-01-20  6:50 ` [ISSUE] [CLOSED] " classabbyamp
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jaminW55 @ 2024-01-20  6:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1746 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48296#issuecomment-1901779201

Comment:
I've actually almost got this one working. It builds without error, but then does not install. I am not entirely certain where I went wrong and I wonder if maybe I need to include something that changes terminal fonts to nerd fonts. 

It was required to force the extraction, as for whatever reason it would not extract. 

Please see the below template:

```
# Template file for 'nvchad'
pkgname=nvchad
version=2.0
revision=1
build_style=fetch
depends="neovim>=0.9.4 xclip"
hostmakedepends="tar"
short_desc="Neovim config written in Lua with a beautiful UI and fast startup"
maintainer="jaminW55 <jaminW55@gmail.me>"
license="GPL-3.0"
homepage="https://github.com/NvChad/NvChad"
distfiles="https://github.com/NvChad/NvChad/archive/refs/tags/v${version}.tar.gz"
checksum=78334f0bd8ec196a827c14ba9e33d2266833249a1916319d60c2ba7e20d6fba7

do_install() {
    # Force extraction of tarball
    tar -xzf "v${version}.tar.gz" -C "${wrksrc}"

    # Navigate to the directory where the source files are extracted
    cd "${wrksrc}/NvChad-${version}"

    # Create Necessary Directories
    vmkdir /usr/share/nvim/runtime
    vmkdir /usr/share/nvchad

    # Copying necessary files
    vcopy init.lua /usr/share/nvchad
    vcopy lua /usr/share/nvchad
    vcopy .stylua.toml /usr/share/nvchad

    # Copy the same files to nvim runtime directory
    vcopy init.lua /usr/share/nvim/runtime
    vcopy lua /usr/share/nvim/runtime
    vcopy .stylua.toml /usr/share/nvim/runtime
}

post_install() {
    echo "To update NvChad, run 'NvChadUpdate' inside neovim."
}
```



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ISSUE] [CLOSED] Package request: NvChad
  2024-01-20  6:15 [ISSUE] Package request: NvChad jaminW55
  2024-01-20  6:16 ` jaminW55
  2024-01-20  6:17 ` jaminW55
@ 2024-01-20  6:50 ` classabbyamp
  2024-01-20  6:50 ` classabbyamp
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2024-01-20  6:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

Closed issue by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48296

Description:
### Package name

NvChad

### Package homepage

https://github.com/NvChad/NvChad

### Description

Neovim config written in Lua with a beautiful UI and fast startup

### Does the requested package meet the package requirements?

System, Compiled

### Is the requested package released?

Yes

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package request: NvChad
  2024-01-20  6:15 [ISSUE] Package request: NvChad jaminW55
                   ` (2 preceding siblings ...)
  2024-01-20  6:50 ` [ISSUE] [CLOSED] " classabbyamp
@ 2024-01-20  6:50 ` classabbyamp
  2024-01-20 16:22 ` jaminW55
  2024-01-20 16:37 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2024-01-20  6:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/48296#issuecomment-1901801147

Comment:
> Does the requested package meet the package requirements?
> System, Compiled

this is just a set of neovim configs. it does not (and probably *should* not) be installed system-wide for most use-cases, and it is not compiled (it's lua).

you should just [install it like upstream says to](https://nvchad.com/docs/quickstart/install).

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package request: NvChad
  2024-01-20  6:15 [ISSUE] Package request: NvChad jaminW55
                   ` (3 preceding siblings ...)
  2024-01-20  6:50 ` classabbyamp
@ 2024-01-20 16:22 ` jaminW55
  2024-01-20 16:37 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: jaminW55 @ 2024-01-20 16:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

New comment by jaminW55 on void-packages repository

https://github.com/void-linux/void-packages/issues/48296#issuecomment-1902166808

Comment:
Both Arch and NixOS have this packaged, so I assumed it may be cleaner to set-up via package.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package request: NvChad
  2024-01-20  6:15 [ISSUE] Package request: NvChad jaminW55
                   ` (4 preceding siblings ...)
  2024-01-20 16:22 ` jaminW55
@ 2024-01-20 16:37 ` classabbyamp
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2024-01-20 16:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/48296#issuecomment-1902170226

Comment:
the AUR is not arch, it's a free-for-all where anyone can make a package for whatever they want

nix packages many things because they can be hard to install with the way nix is structured

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-20 16:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-20  6:15 [ISSUE] Package request: NvChad jaminW55
2024-01-20  6:16 ` jaminW55
2024-01-20  6:17 ` jaminW55
2024-01-20  6:50 ` [ISSUE] [CLOSED] " classabbyamp
2024-01-20  6:50 ` classabbyamp
2024-01-20 16:22 ` jaminW55
2024-01-20 16:37 ` classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).