* /var/state -> /var/run.
svn path=/nixpkgs/trunk/; revision=8851
This commit is contained in:
parent
9816367ed1
commit
fffe4c7900
|
@ -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
|
||||
";
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue