diff --git a/pkgs/desktops/gnome/gnome-panel.nix b/pkgs/desktops/gnome/gnome-panel.nix index 4ae6598f5e9e..8056eb988013 100644 --- a/pkgs/desktops/gnome/gnome-panel.nix +++ b/pkgs/desktops/gnome/gnome-panel.nix @@ -13,4 +13,12 @@ stdenv.mkDerivation { ]; configureFlags = "--disable-scrollkeeper"; + + preConfigure = " + mkdir wrapper + echo \"#! $SHELL\" >> wrapper/xsltproc + echo \"exec `type -tp xsltproc` --nonet \\\"\\$@\\\"\" >> wrapper/xsltproc + chmod +x wrapper/xsltproc + PATH=$(pwd)/wrapper:$PATH + "; }