diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index bdaa765b6b0d..3faaf15eeb33 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -77,6 +77,11 @@ let ]) ++ additionalPkgs pkgs; + extraBwrapArgs = [ + "--bind-try /etc/nixos/ /etc/nixos/" + "--ro-bind-try /etc/xdg/ /etc/xdg/" + ]; + # symlink shared assets, including icons and desktop entries extraInstallCommands = '' ln -s "${zed-editor}/share" "$out/"