zed-editor: bwrap bind /etc/nixos/ and /etc/xdg/ (#457891)

This commit is contained in:
Aleksana
2025-12-01 03:53:49 +00:00
committed by GitHub
+5
View File
@@ -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/"