mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 09:04:54 +02:00
treewide: use boolean comparison to simplify the code base
This commit is contained in:
parent
5066c71549
commit
e908e344f4
18 changed files with 29 additions and 64 deletions
|
@ -32,6 +32,6 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
extraPackages = lib.optional ((lib.isBool cfg.installGhc) && cfg.installGhc) cfg.ghcPackage;
|
||||
extraPackages = lib.optional (cfg.installGhc == true) cfg.ghcPackage;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue