pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: shells/oh-my-posh



------- Original Message -------
On Tuesday, March 21st, 2023 at 1:43 PM, Benny Siegert <bsiegert%gmail.com@localhost> wrote:

> Looking at the file further, it seems that the whole approach of that
> package is misguided. It has "isLinux", "isMac", "isWindows" etc.
> calls. Is NetBSD Linux in this logic?
> 
> --
> Benny

I've done similar things with Rust packages where there was 'target_os=linux'.
Adding 'target_os=netbsd' solved the issues in > 90% of the cases.

It's a staring point.
I don't know how it works in Go but, in Rust using unix is not a very good idea because macos is also unix.


Home | Main Index | Thread Index | Old Index