* /var/state -> /var/run.

svn path=/nixpkgs/trunk/; revision=8851
This commit is contained in:
Eelco Dolstra 2007-06-09 19:46:27 +00:00
parent 9816367ed1
commit fffe4c7900
3 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation {
postFixup = "
for i in $out/bin/*; do
patchelf --set-rpath /var/state/opengl-driver/lib:$(patchelf --print-rpath $i) $i
patchelf --set-rpath /var/run/opengl-driver/lib:$(patchelf --print-rpath $i) $i
done
";

View file

@ -7,8 +7,8 @@ if test -z "$OPENGL_DRIVER"; then
OPENGL_DRIVER=$profile
fi
# OpenGL driver for current X server on NixOS.
if test -d /var/state/opengl-driver; then
OPENGL_DRIVER=/var/state/opengl-driver
if test -d /var/run/opengl-driver; then
OPENGL_DRIVER=/var/run/opengl-driver
fi
fi

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation {
postFixup = "
for i in $out/bin/*; do
patchelf --set-rpath /var/state/opengl-driver/lib:${libXext}/lib:$(patchelf --print-rpath $i) $i
patchelf --set-rpath /var/run/opengl-driver/lib:${libXext}/lib:$(patchelf --print-rpath $i) $i
done
";
}