* 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:
Eelco Dolstra
2008-06-13 11:46:39 +00:00
89 changed files with 1486 additions and 1852 deletions
+1 -7
View File
@@ -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
";
}
+1 -1
View File
@@ -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