mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Use optionalAttrs
This commit is contained in:
parent
6902452901
commit
ad94b9e50e
1 changed files with 1 additions and 2 deletions
|
@ -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 {}
|
||||
|
|
Loading…
Reference in a new issue