From fffe4c7900725a5dbb5f1617d085595b0d56fd00 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 9 Jun 2007 19:46:27 +0000 Subject: [PATCH] * /var/state -> /var/run. svn path=/nixpkgs/trunk/; revision=8851 --- pkgs/applications/window-managers/compiz/default.nix | 2 +- pkgs/build-support/opengl/mesa-switch.sh | 4 ++-- pkgs/tools/graphics/glxinfo/default.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/window-managers/compiz/default.nix b/pkgs/applications/window-managers/compiz/default.nix index 25cee0600bb..80ae441c5f7 100644 --- a/pkgs/applications/window-managers/compiz/default.nix +++ b/pkgs/applications/window-managers/compiz/default.nix @@ -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 "; diff --git a/pkgs/build-support/opengl/mesa-switch.sh b/pkgs/build-support/opengl/mesa-switch.sh index 59a316d8af0..7b9dfe39061 100644 --- a/pkgs/build-support/opengl/mesa-switch.sh +++ b/pkgs/build-support/opengl/mesa-switch.sh @@ -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 diff --git a/pkgs/tools/graphics/glxinfo/default.nix b/pkgs/tools/graphics/glxinfo/default.nix index 8dc5c1569dd..6cd52c626a5 100644 --- a/pkgs/tools/graphics/glxinfo/default.nix +++ b/pkgs/tools/graphics/glxinfo/default.nix @@ -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 "; }