Skip to content

Commit 8857bc8

Browse files
authored
code-cursor: 0.48.9 -> 0.49.6 (#401864)
2 parents ced5645 + 99c1a02 commit 8857bc8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pkgs/by-name/co/code-cursor/package.nix

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,26 +48,26 @@
4848
}:
4949
let
5050
pname = "cursor";
51-
version = "0.48.9";
51+
version = "0.49.6";
5252

5353
inherit (stdenvNoCC) hostPlatform;
5454

5555
sources = {
5656
x86_64-linux = fetchurl {
57-
url = "https://downloads.cursor.com/production/61e99179e4080fecf9d8b92c6e2e3e00fbfb53f4/linux/x64/Cursor-0.48.9-x86_64.AppImage";
58-
hash = "sha256-Rw96CIN+vL1bIj5o68gWkHeiqgxExzbjwcW4ad10M2I=";
57+
url = "https://downloads.cursor.com/production/0781e811de386a0c5bcb07ceb259df8ff8246a52/linux/x64/Cursor-0.49.6-x86_64.AppImage";
58+
hash = "sha256-WH4/Zw0VJmRGyRzMlkThkhZ4fGysMKBUSIPCTsyGS4w=";
5959
};
6060
aarch64-linux = fetchurl {
61-
url = "https://downloads.cursor.com/production/61e99179e4080fecf9d8b92c6e2e3e00fbfb53f4/linux/arm64/Cursor-0.48.9-aarch64.AppImage";
62-
hash = "sha256-RMDYoQSIO0jukhC5j1TjpwCcK0tEnvoVpXbFOxp/K8o=";
61+
url = "https://downloads.cursor.com/production/0781e811de386a0c5bcb07ceb259df8ff8246a52/linux/arm64/Cursor-0.49.6-aarch64.AppImage";
62+
hash = "sha256-cpNoff6mDRkT2RicaDlxzqVP9BNe6UEGgJVHr1xMiv0=";
6363
};
6464
x86_64-darwin = fetchurl {
65-
url = "https://downloads.cursor.com/production/61e99179e4080fecf9d8b92c6e2e3e00fbfb53f4/darwin/x64/Cursor-darwin-x64.dmg";
66-
hash = "sha256-172BGNNVvpZhk99rQN19tTsxvRADjmtEzgkZazke/v4=";
65+
url = "https://downloads.cursor.com/production/0781e811de386a0c5bcb07ceb259df8ff8246a52/darwin/x64/Cursor-darwin-x64.dmg";
66+
hash = "sha256-fAaLY9YTIuNThFl5OsIMHavy2xwDgYooL4xTSp4Cwzw=";
6767
};
6868
aarch64-darwin = fetchurl {
69-
url = "https://downloads.cursor.com/production/61e99179e4080fecf9d8b92c6e2e3e00fbfb53f4/darwin/arm64/Cursor-darwin-arm64.dmg";
70-
hash = "sha256-IQ4UZwEBVGMaGUrNVHWxSRjbw8qhLjOJ2KYc9Y26LZU=";
69+
url = "https://downloads.cursor.com/production/0781e811de386a0c5bcb07ceb259df8ff8246a52/darwin/arm64/Cursor-darwin-arm64.dmg";
70+
hash = "sha256-DNN2+gfs9u0tZmh75J258d2TL6ErIYludMgPJZcgfb8=";
7171
};
7272
};
7373

@@ -113,7 +113,6 @@ stdenvNoCC.mkDerivation {
113113
libdrm
114114
libgbm
115115
libGL
116-
libGL
117116
libva-minimal
118117
libxkbcommon
119118
libxkbfile
@@ -162,7 +161,8 @@ stdenvNoCC.mkDerivation {
162161
substituteInPlace $out/share/applications/cursor.desktop --replace-fail "/usr/share/cursor/cursor" "$out/bin/cursor"
163162
164163
wrapProgram $out/bin/cursor \
165-
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}} --no-update"
164+
--add-flags "--update=false" \
165+
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}} --no-update"
166166
''}
167167
168168
${lib.optionalString hostPlatform.isDarwin ''

0 commit comments

Comments
 (0)