Hack to work around the lack of isPath

This commit is contained in:
Eelco Dolstra 2013-10-28 17:47:13 +01:00
parent 1b2006270f
commit 657c8d9ea7

View File

@ -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.