Hack to work around the lack of isPath
This commit is contained in:
parent
1b2006270f
commit
657c8d9ea7
|
@ -16,7 +16,8 @@ let
|
|||
# cannot serialized attribute set given in the list of modules (that's why
|
||||
# you should use files).
|
||||
moduleFiles =
|
||||
filter isPath modules;
|
||||
# FIXME: use typeOf (Nix 1.6.1).
|
||||
filter (x: !isAttrs x && !builtins.isFunction x) modules;
|
||||
|
||||
# Partition module files because between NixOS and non-NixOS files. NixOS
|
||||
# files may change if the repository is updated.
|
||||
|
|
Loading…
Reference in a new issue