Changing an 'if' to cleaner optionalAttrs.
svn path=/nixpkgs/trunk/; revision=34513
This commit is contained in:
parent
6ccf519fc6
commit
24ed82236a
@ -16,8 +16,8 @@ stdenv.mkDerivation ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
# It has an old config.guess that doesn't know the mips64el.
|
# 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];
|
propagatedBuildInputs = [libogg libvorbis autoconf automake libtool];
|
||||||
preConfigure = "rm config.guess; sh autogen.sh";
|
preConfigure = "rm config.guess; sh autogen.sh";
|
||||||
} else {}))
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user