From 8feb1d109b5d8e8914a78589820f800a66f6b24a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 1 Jan 2007 13:42:23 +0000 Subject: [PATCH] * Better fix for NIXPKGS-37: don't let check-lxdialog.sh look in /usr. svn path=/nixpkgs/trunk/; revision=7524 --- pkgs/os-specific/linux/kernel/builder.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/builder.sh b/pkgs/os-specific/linux/kernel/builder.sh index 662fc43a202..02f2c3d9464 100644 --- a/pkgs/os-specific/linux/kernel/builder.sh +++ b/pkgs/os-specific/linux/kernel/builder.sh @@ -7,7 +7,11 @@ configurePhase() { export INSTALL_MOD_PATH=$out cp $config .config - make oldconfig HOST_LOADLIBES= HOST_EXTRACFLAGS= + + substituteInPlace scripts/kconfig/lxdialog/check-lxdialog.sh \ + --replace /usr /no-such-path + + make silentoldconfig }