* /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 = "
|
postFixup = "
|
||||||
for i in $out/bin/*; do
|
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
|
done
|
||||||
";
|
";
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@ if test -z "$OPENGL_DRIVER"; then
|
|||||||
OPENGL_DRIVER=$profile
|
OPENGL_DRIVER=$profile
|
||||||
fi
|
fi
|
||||||
# OpenGL driver for current X server on NixOS.
|
# OpenGL driver for current X server on NixOS.
|
||||||
if test -d /var/state/opengl-driver; then
|
if test -d /var/run/opengl-driver; then
|
||||||
OPENGL_DRIVER=/var/state/opengl-driver
|
OPENGL_DRIVER=/var/run/opengl-driver
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
postFixup = "
|
postFixup = "
|
||||||
for i in $out/bin/*; do
|
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
|
done
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user