openjdk: Override hardcoded alsa headers

svn path=/nixpkgs/trunk/; revision=28042
This commit is contained in:
Shea Levy 2011-08-01 01:09:53 +00:00
parent e3ebf2024a
commit 27112e7233

@ -1,4 +1,4 @@
{stdenv, fetchurl, unzip, procps, coreutils, gnugrep, gnused}:
{stdenv, fetchurl, unzip, procps, coreutils, gnugrep, gnused, alsaLib}:
stdenv.mkDerivation rec {
name = "openjdk-7b127";
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
PWD=${coreutils}/bin/pwd \
TR=${coreutils}/bin/tr \
SED=${gnused}/bin/sed \
ALSA_INCLUDE=${alsaLib}/include \
CC=${stdenv.gcc}/bin/gcc
'';