mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
Hack to work around the lack of isPath
This commit is contained in:
parent
1b2006270f
commit
657c8d9ea7
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue