Loading pkgs/applications/editors/vscode/generic.nix +2 −1 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ # Attributes inherit from specific versions version, vscodeVersion ? version, src, meta, sourceRoot, Loading Loading @@ -303,7 +304,7 @@ stdenv.mkDerivation ( let vscodeRipgrep = if stdenv.hostPlatform.isDarwin then if lib.versionAtLeast version "1.94.0" then if lib.versionAtLeast vscodeVersion "1.94.0" then "Contents/Resources/app/node_modules/@vscode/ripgrep/bin/rg" else "Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg" Loading pkgs/by-name/wi/windsurf/info.json 0 → 100644 +20 −0 Original line number Diff line number Diff line { "aarch64-darwin": { "version": "1.2.6", "vscodeVersion": "1.94.0", "url": "https://windsurf-stable.codeiumdata.com/darwin-arm64/stable/d08b8ea13d580d24be204c76e5dd1651d7234cd2/Windsurf-darwin-arm64-1.2.6.zip", "sha256": "b9a63785454003f7ccb3b6adebe232e24618247244b556ef61e9e974a4b77f65" }, "x86_64-darwin": { "version": "1.2.6", "vscodeVersion": "1.94.0", "url": "https://windsurf-stable.codeiumdata.com/darwin-x64/stable/d08b8ea13d580d24be204c76e5dd1651d7234cd2/Windsurf-darwin-x64-1.2.6.zip", "sha256": "4a4beae35117162b484521a64fc67cac044ced17a971553ab75ba8823b3cbb75" }, "x86_64-linux": { "version": "1.2.6", "vscodeVersion": "1.94.0", "url": "https://windsurf-stable.codeiumdata.com/linux-x64/stable/d08b8ea13d580d24be204c76e5dd1651d7234cd2/Windsurf-linux-x64-1.2.6.tar.gz", "sha256": "ad71eb02b9302d4cf1413c0a83763f45fe455e5be74ee9e1477bea2e85a02caa" } } pkgs/by-name/wi/windsurf/package.nix 0 → 100644 +57 −0 Original line number Diff line number Diff line { lib, stdenv, callPackage, vscode-generic, fetchurl, nixosTests, commandLineArgs ? "", useVSCodeRipgrep ? stdenv.hostPlatform.isDarwin, }: let info = (lib.importJSON ./info.json)."${stdenv.hostPlatform.system}" or (throw "windsurf: unsupported system ${stdenv.hostPlatform.system}"); in callPackage vscode-generic rec { inherit commandLineArgs useVSCodeRipgrep; inherit (info) version vscodeVersion; pname = "windsurf"; executableName = "windsurf"; longName = "Windsurf"; shortName = "windsurf"; sourceRoot = if stdenv.hostPlatform.isDarwin then "Windsurf.app" else "Windsurf"; src = fetchurl { inherit (info) url sha256; }; tests = nixosTests.vscodium; updateScript = ./update/update.mts; # Editing the `codium` binary (and shell scripts) within the app bundle causes the bundle's signature # to be invalidated, which prevents launching starting with macOS Ventura, because VSCodium is notarized. # See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information. dontFixup = stdenv.hostPlatform.isDarwin; meta = { description = "Agentic IDE powered by AI Flow paradigm"; longDescription = '' The first agentic IDE, and then some. The Windsurf Editor is where the work of developers and AI truly flow together, allowing for a coding experience that feels like literal magic. ''; homepage = "https://codeium.com/windsurf"; license = lib.licenses.unfree; maintainers = with lib.maintainers; [ xiaoxiangmoe ]; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; }; } pkgs/by-name/wi/windsurf/update/.gitignore 0 → 100644 +2 −0 Original line number Diff line number Diff line node_modules package-lock.json pkgs/by-name/wi/windsurf/update/package.json 0 → 100644 +12 −0 Original line number Diff line number Diff line { "name": "windsurf-scripts", "version": "1.0.0", "scripts": { "update": "node update.mts" }, "dependencies": { "@types/node": "^22.13.1", "prettier": "^3.4.2", "typescript": "^5.7.3" } } Loading
pkgs/applications/editors/vscode/generic.nix +2 −1 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ # Attributes inherit from specific versions version, vscodeVersion ? version, src, meta, sourceRoot, Loading Loading @@ -303,7 +304,7 @@ stdenv.mkDerivation ( let vscodeRipgrep = if stdenv.hostPlatform.isDarwin then if lib.versionAtLeast version "1.94.0" then if lib.versionAtLeast vscodeVersion "1.94.0" then "Contents/Resources/app/node_modules/@vscode/ripgrep/bin/rg" else "Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg" Loading
pkgs/by-name/wi/windsurf/info.json 0 → 100644 +20 −0 Original line number Diff line number Diff line { "aarch64-darwin": { "version": "1.2.6", "vscodeVersion": "1.94.0", "url": "https://windsurf-stable.codeiumdata.com/darwin-arm64/stable/d08b8ea13d580d24be204c76e5dd1651d7234cd2/Windsurf-darwin-arm64-1.2.6.zip", "sha256": "b9a63785454003f7ccb3b6adebe232e24618247244b556ef61e9e974a4b77f65" }, "x86_64-darwin": { "version": "1.2.6", "vscodeVersion": "1.94.0", "url": "https://windsurf-stable.codeiumdata.com/darwin-x64/stable/d08b8ea13d580d24be204c76e5dd1651d7234cd2/Windsurf-darwin-x64-1.2.6.zip", "sha256": "4a4beae35117162b484521a64fc67cac044ced17a971553ab75ba8823b3cbb75" }, "x86_64-linux": { "version": "1.2.6", "vscodeVersion": "1.94.0", "url": "https://windsurf-stable.codeiumdata.com/linux-x64/stable/d08b8ea13d580d24be204c76e5dd1651d7234cd2/Windsurf-linux-x64-1.2.6.tar.gz", "sha256": "ad71eb02b9302d4cf1413c0a83763f45fe455e5be74ee9e1477bea2e85a02caa" } }
pkgs/by-name/wi/windsurf/package.nix 0 → 100644 +57 −0 Original line number Diff line number Diff line { lib, stdenv, callPackage, vscode-generic, fetchurl, nixosTests, commandLineArgs ? "", useVSCodeRipgrep ? stdenv.hostPlatform.isDarwin, }: let info = (lib.importJSON ./info.json)."${stdenv.hostPlatform.system}" or (throw "windsurf: unsupported system ${stdenv.hostPlatform.system}"); in callPackage vscode-generic rec { inherit commandLineArgs useVSCodeRipgrep; inherit (info) version vscodeVersion; pname = "windsurf"; executableName = "windsurf"; longName = "Windsurf"; shortName = "windsurf"; sourceRoot = if stdenv.hostPlatform.isDarwin then "Windsurf.app" else "Windsurf"; src = fetchurl { inherit (info) url sha256; }; tests = nixosTests.vscodium; updateScript = ./update/update.mts; # Editing the `codium` binary (and shell scripts) within the app bundle causes the bundle's signature # to be invalidated, which prevents launching starting with macOS Ventura, because VSCodium is notarized. # See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information. dontFixup = stdenv.hostPlatform.isDarwin; meta = { description = "Agentic IDE powered by AI Flow paradigm"; longDescription = '' The first agentic IDE, and then some. The Windsurf Editor is where the work of developers and AI truly flow together, allowing for a coding experience that feels like literal magic. ''; homepage = "https://codeium.com/windsurf"; license = lib.licenses.unfree; maintainers = with lib.maintainers; [ xiaoxiangmoe ]; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; sourceProvenance = [ lib.sourceTypes.binaryBytecode ]; }; }
pkgs/by-name/wi/windsurf/update/.gitignore 0 → 100644 +2 −0 Original line number Diff line number Diff line node_modules package-lock.json
pkgs/by-name/wi/windsurf/update/package.json 0 → 100644 +12 −0 Original line number Diff line number Diff line { "name": "windsurf-scripts", "version": "1.0.0", "scripts": { "update": "node update.mts" }, "dependencies": { "@types/node": "^22.13.1", "prettier": "^3.4.2", "typescript": "^5.7.3" } }