* Merged the stdenv branch
(https://svn.nixos.org/repos/nix/nixpkgs/branches/stdenv-updates -r10966:12061). svn path=/nixpkgs/trunk/; revision=12073
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, x11, mesa, libXext}:
|
||||
{stdenv, fetchurl, x11, mesa}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "glxinfo-6.5.2";
|
||||
@@ -20,10 +20,4 @@ stdenv.mkDerivation {
|
||||
ensureDir $out/bin
|
||||
cp glxinfo glxgears $out/bin
|
||||
";
|
||||
|
||||
postFixup = "
|
||||
for i in $out/bin/*; do
|
||||
patchelf --set-rpath /var/run/opengl-driver/lib:${libXext}/lib:$(patchelf --print-rpath $i) $i
|
||||
done
|
||||
";
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ patchPhase=patchPhase
|
||||
patchPhase() {
|
||||
for i in $patches; do
|
||||
header "applying patch $i" 3
|
||||
patch -p0 < $i || fail
|
||||
patch -p0 < $i
|
||||
stopNest
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user