init nix flake for running arrowvortex via wine
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# ArrowVortex (Nix flake)
|
||||
|
||||
This flake packages [ArrowVortex](https://github.com/uvcat7/ArrowVortex) from the upstream Windows release zip and runs it with Wine. The default Wine prefix is `$XDG_DATA_HOME/arrowvortex/wine` (or `~/.local/share/arrowvortex/wine` when `XDG_DATA_HOME` is unset). Override with `WINEPREFIX` if you want a different prefix.
|
||||
|
||||
## Run from a local checkout
|
||||
|
||||
```bash
|
||||
nix run .
|
||||
```
|
||||
|
||||
```bash
|
||||
nix build .
|
||||
./result/bin/arrowvortex
|
||||
```
|
||||
|
||||
## Run directly from Git
|
||||
|
||||
This flake lives at [https://git.plebsaber.stream/arrowvortex-wine](https://git.plebsaber.stream/arrowvortex-wine). Use a `git+https` flake reference (not the `github:` shorthand):
|
||||
|
||||
```bash
|
||||
nix run git+https://git.plebsaber.stream/arrowvortex-wine
|
||||
```
|
||||
|
||||
Optional: install into your user profile:
|
||||
|
||||
```bash
|
||||
nix profile install git+https://git.plebsaber.stream/arrowvortex-wine
|
||||
```
|
||||
|
||||
Pin a branch or revision for reproducibility:
|
||||
|
||||
```bash
|
||||
nix run 'git+https://git.plebsaber.stream/arrowvortex-wine?ref=main'
|
||||
nix run 'git+https://git.plebsaber.stream/arrowvortex-wine?rev=<commit-sha>'
|
||||
```
|
||||
|
||||
## Requirements
|
||||
|
||||
- Nix with flakes enabled (`experimental-features = nix-command flakes`).
|
||||
|
||||
Wine and GUI dependencies come from nixpkgs; you need a working display (X11 or Wayland) for the editor window.
|
||||
Reference in New Issue
Block a user