Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit 0cab87e

Browse files
committed
Fix executable name for Nix flake
1 parent 9fe9207 commit 0cab87e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The official issue tracker has numerous issues ([#1532](https://github.com/getcu
1414

1515
Download the [latest release](https://github.com/coder/cursor-arm/releases/latest) and execute it.
1616

17-
For Nix users, simply `nix build` and run.
17+
For Nix users: `nix run github:coder/cursor-arm` (this should work for all architectures, not just arm).
1818

1919
## FAQ
2020

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
vscodePackage.overrideAttrs (oldAttrs: {
6363
pname = "cursor";
6464
version = cursorVersion;
65+
executableName = "cursor";
6566

6667
postInstall = (oldAttrs.postInstall or "") + ''
6768
${(copyCursorFiles "$out/lib/vscode")}
@@ -77,6 +78,7 @@
7778

7879
meta = oldAttrs.meta // {
7980
description = "Cursor ${cursorVersion}";
81+
mainProgram = "cursor";
8082
};
8183
});
8284

0 commit comments

Comments
 (0)