Loading pkgs/by-name/co/code-cursor/package.nix +2 −8 Original line number Diff line number Diff line Loading @@ -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" Loading Loading @@ -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"; }; } Loading
pkgs/by-name/co/code-cursor/package.nix +2 −8 Original line number Diff line number Diff line Loading @@ -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" Loading Loading @@ -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"; }; }