From a5ad58aad1237b2acde06b74280858ede2f6e651 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 2 Apr 2025 17:25:46 +0200 Subject: fix(workstation): update Zed for amdgpu bug workaround --- nixos/profiles/workstation/dev.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nixos/profiles/workstation') diff --git a/nixos/profiles/workstation/dev.nix b/nixos/profiles/workstation/dev.nix index e550a4c..ea39b83 100644 --- a/nixos/profiles/workstation/dev.nix +++ b/nixos/profiles/workstation/dev.nix @@ -22,7 +22,11 @@ gcc # rustc fails if cc linker isn't found chromium - pkgs-unstable.zed-editor + # FUTURE: Check if Linux kernel of NixOS 25.05 still has this amdgpu bug. + (pkgs.writeShellScriptBin "zed" '' + export ZED_PATH_SAMPLE_COUNT=0 # workaround for https://github.com/zed-industries/zed/issues/26143 + exec ${pkgs-unstable.zed-editor}/bin/zeditor "$@" + '') vscodium # I'm installing extensions via my install-imperative script. platformio -- cgit v1.2.3