stylix: use isFunction (#1652)
Link: https://github.com/nix-community/stylix/pull/1652 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
4eadb2503b
commit
9028a74f88
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
let
|
||||
file = import f;
|
||||
attrs =
|
||||
if builtins.typeOf file == "lambda" then
|
||||
if builtins.isFunction file then
|
||||
file {
|
||||
inherit
|
||||
lib
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue