From b6c1456f469e4f164f91c391ff6a574245cc135e Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Mon, 15 Dec 2025 16:48:33 +0800 Subject: [PATCH] chore: update nixpkgs-master --- home/linux/gui/base/editors.nix | 60 ++++++++++++++++----------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/home/linux/gui/base/editors.nix b/home/linux/gui/base/editors.nix index 98399aca..ba0ff125 100644 --- a/home/linux/gui/base/editors.nix +++ b/home/linux/gui/base/editors.nix @@ -13,36 +13,36 @@ let "--password-store=gnome-libsecret" ]; - code-cursor = - (pkgs-master.code-cursor.override { - commandLineArgs = lib.concatStringsSep " " vscodeCliArgs; - }).overrideAttrs - (oldAttrs: rec { - pname = "cursor"; - version = "2.1.36"; - src = - with pkgs-master; - appimageTools.extract { - inherit pname version; - src = - let - sources = { - x86_64-linux = fetchurl { - # curl -s https://api2.cursor.sh/updates/api/download/stable/linux-x64/cursor | jq - url = "https://downloads.cursor.com/production/9cd7c8b6cebcbccc1242df211dee45a4b6fe15e4/linux/x64/Cursor-2.1.36-x86_64.AppImage"; - hash = "sha256-aaprRB2BAaUCHj7m5aGacCBHisjN2pVZ+Ca3u1ifxBA="; - }; - aarch64-linux = fetchurl { - # curl -s https://api2.cursor.sh/updates/api/download/stable/linux-arm64/cursor | jq - url = "https://downloads.cursor.com/production/9cd7c8b6cebcbccc1242df211dee45a4b6fe15e4/linux/arm64/Cursor-2.1.36-aarch64.AppImage"; - hash = "sha256-S2vFYBI6m0zjBJEDbk7gc6/zFiKWyhM73OUm1xsNx6Q="; - }; - }; - in - sources.${stdenv.hostPlatform.system}; - }; - sourceRoot = "${pname}-${version}-extracted/usr/share/cursor"; - }); + code-cursor = pkgs-master.code-cursor; + # (pkgs-master.code-cursor.override { + # commandLineArgs = lib.concatStringsSep " " vscodeCliArgs; + # }).overrideAttrs + # (oldAttrs: rec { + # pname = "cursor"; + # version = "2.1.36"; + # src = + # with pkgs-master; + # appimageTools.extract { + # inherit pname version; + # src = + # let + # sources = { + # x86_64-linux = fetchurl { + # # curl -s https://api2.cursor.sh/updates/api/download/stable/linux-x64/cursor | jq + # url = "https://downloads.cursor.com/production/9cd7c8b6cebcbccc1242df211dee45a4b6fe15e4/linux/x64/Cursor-2.1.36-x86_64.AppImage"; + # hash = "sha256-aaprRB2BAaUCHj7m5aGacCBHisjN2pVZ+Ca3u1ifxBA="; + # }; + # aarch64-linux = fetchurl { + # # curl -s https://api2.cursor.sh/updates/api/download/stable/linux-arm64/cursor | jq + # url = "https://downloads.cursor.com/production/9cd7c8b6cebcbccc1242df211dee45a4b6fe15e4/linux/arm64/Cursor-2.1.36-aarch64.AppImage"; + # hash = "sha256-S2vFYBI6m0zjBJEDbk7gc6/zFiKWyhM73OUm1xsNx6Q="; + # }; + # }; + # in + # sources.${stdenv.hostPlatform.system}; + # }; + # sourceRoot = "${pname}-${version}-extracted/usr/share/cursor"; + # }); in { home.packages = [