code-cursor: fixes (#395545)
This commit is contained in:
@@ -159,7 +159,7 @@ stdenvNoCC.mkDerivation {
|
||||
rsync -a -q ${appimageContents}/usr/share $out/ --exclude "*.so"
|
||||
|
||||
# Fix the desktop file to point to the correct location
|
||||
substituteInPlace $out/share/applications/cursor.desktop --replace-fail "/usr/share/cursor/cursor" "$out/share/cursor/cursor"
|
||||
substituteInPlace $out/share/applications/cursor.desktop --replace-fail "/usr/share/cursor/cursor" "$out/bin/cursor"
|
||||
|
||||
wrapProgram $out/bin/cursor \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}} --no-update"
|
||||
@@ -196,13 +196,7 @@ stdenvNoCC.mkDerivation {
|
||||
sarahec
|
||||
aspauldingcode
|
||||
];
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
# Temporary: Cursor doesn't supply a 0.47.8 build for aarch64-linux
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||
mainProgram = "cursor";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user