Use optionalAttrs

This commit is contained in:
Eelco Dolstra 2012-10-10 16:49:47 -04:00
parent 6902452901
commit ad94b9e50e

View file

@ -11,7 +11,7 @@ let
in
if (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) then
optionalAttrs (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) # ugly...
{
###### interface
@ -85,4 +85,3 @@ if (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) then
};
}
else {}