From 65d14af11bc33a242e67847125e7fd7496a0a8dd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 26 Apr 2007 22:00:01 +0000 Subject: [PATCH] * Workaround for NIXPKGS-52: prevent xsltproc from downloading DTDs. svn path=/nixpkgs/trunk/; revision=8618 --- pkgs/desktops/gnome/gnome-panel.nix | 8 ++++++++ 1 file changed, 8 insertions(+) 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 + "; }