From 26a710ad676f1e19e00c3bbebc08ca01417b88ba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 26 Feb 2007 19:11:19 +0000 Subject: [PATCH] * Hack to address a GNU Make impurity (NIXPKGS-45). svn path=/nixpkgs/trunk/; revision=8054 --- pkgs/servers/x11/xorg/xorgserver.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/servers/x11/xorg/xorgserver.sh b/pkgs/servers/x11/xorg/xorgserver.sh index 2f051192e081..d0ee29dabcf6 100644 --- a/pkgs/servers/x11/xorg/xorgserver.sh +++ b/pkgs/servers/x11/xorg/xorgserver.sh @@ -1,3 +1,8 @@ +# There is a dependency somewhere on `-ldl', which Make treats +# specially by mapping it to /usr/lib/libdl.so. That won't work on +# NixOS, so force Make to search in our own Glibc. +export VPATH=$(cat ${NIX_GCC}/nix-support/orig-libc)/lib + preConfigure=preConfigure preConfigure() { unpackFile $mesaSrc