fastfetch-cli / fastfetch-cli/fastfetch
[BUG] pkgsrc detection on macOS
- Dominant language
- C
- Stars
- 24.6k
- Forks
- 890
- Avg merge
- 1d 42m
- Merged PRs (30d)
- 17
Description
### Read the FAQ first
- [x] I have checked the FAQ but the issue is not covered
### Description
I tried to install `fastfetch` from `pkgsrc` on macOS, but the package manager detection logic on macOS does not implemented the `pkgsrc` detection.
I actually tried to modify the source code by porting the `pkgsrc` detection logic on NetBSD (`src/detection/packages/packages_nbsd.c`) to macOS, and change the `pkgdb` path to match the common `/opt/pkg` bootstrap prefix on macOS, it does work.
I would like to request this issue being fixed, in order to provide `pkgsrc` detection out-of-box on macOS, without any manual modifications required.
Thank you.
### Version used
fastfetch 2.62.1-63 (aarch64)
### Bug prevalence
Always
### Regression
No
### Installation
Package manager
### Package manager
pkgsrc
### Screenshots
Following is a screenshot of `pkgsrc` detection working on macOS after manual source code modification.
### Configuration
```jsonc
```
### System information
```jsonc
not relevant
```
### Features built-in
```text
% fastfetch --list-features
threads
zlib
sqlite3
libzfs
```
Contributor guide
Assessment
This issue has not been assessed yet.