Changing an 'if' to cleaner optionalAttrs.

svn path=/nixpkgs/trunk/; revision=34513
This commit is contained in:
Lluís Batlle i Rossell 2012-06-14 21:28:41 +00:00
parent 6ccf519fc6
commit 24ed82236a

View File

@ -16,8 +16,8 @@ stdenv.mkDerivation ({
}
# It has an old config.guess that doesn't know the mips64el.
// (if (stdenv.system == "mips64el-linux") then
// stdenv.lib.optionalAttrs (stdenv.system == "mips64el-linux")
{
propagatedBuildInputs = [libogg libvorbis autoconf automake libtool];
preConfigure = "rm config.guess; sh autogen.sh";
} else {}))
})