n8henrie / nv

arm64 fork of scrod/nv
https://github.com/scrod/nv
GNU General Public License v3.0
7 stars 0 forks source link

How to compile from the command line #2

Open cubranic opened 3 hours ago

cubranic commented 3 hours ago

Could you tell us how to compile this project from the terminal? I've got Xcode Command Line Tools, and know my way around the command line and Unix dev tools, but don't know how to make this work for a MAC UI app written in Objective-C. I hope I just need the right arguments to run xcodebuild?

I'd be happy to submit a PR for a README with the final instructions.

n8henrie commented 3 hours ago

Hi! Glad to hear about your interest -- I love nv but it is just barely scraping along these days.

I set it up to be compiled with nix: https://nixos.org/

Unfortunately learning nix is a bit of a process.

However, it helps ensure reproducible builds, so I can continue to enjoy nv for years to come, irrespective of macOS and Xcode updates and changes (at least to some degree).

The entire build process is as simple as nix build github:n8henrie/nv -- you don't even have to clone the repo, that should in theory do everything and give you a runnable app in ./result. If you decide to give it a shot, let me know! I'm mostly trying to keep it alive for personal use.