diff options
author | Shea Levy <shea@shealevy.com> | 2018-01-31 14:02:19 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-01-31 14:02:19 -0500 |
commit | 943592f69850fd07dd2422da062b1c1ebc45974d (patch) | |
tree | 3376a06cd3ab25a1622c8f320573ab09b55a9470 /nixos/modules/profiles/clone-config.nix | |
parent | 0d7a0d7572d35526ddf34b6d011b7b88a8904b36 (diff) | |
download | nixlib-943592f69850fd07dd2422da062b1c1ebc45974d.tar nixlib-943592f69850fd07dd2422da062b1c1ebc45974d.tar.gz nixlib-943592f69850fd07dd2422da062b1c1ebc45974d.tar.bz2 nixlib-943592f69850fd07dd2422da062b1c1ebc45974d.tar.lz nixlib-943592f69850fd07dd2422da062b1c1ebc45974d.tar.xz nixlib-943592f69850fd07dd2422da062b1c1ebc45974d.tar.zst nixlib-943592f69850fd07dd2422da062b1c1ebc45974d.zip |
Add setFunctionArgs lib function.
Among other things, this will allow *2nix tools to output plain data while still being composable with the traditional callPackage/.override interfaces.
Diffstat (limited to 'nixos/modules/profiles/clone-config.nix')
-rw-r--r-- | nixos/modules/profiles/clone-config.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/clone-config.nix b/nixos/modules/profiles/clone-config.nix index 77d86f8d7405..5b4e68beb6a6 100644 --- a/nixos/modules/profiles/clone-config.nix +++ b/nixos/modules/profiles/clone-config.nix @@ -17,7 +17,7 @@ let # you should use files). moduleFiles = # FIXME: use typeOf (Nix 1.6.1). - filter (x: !isAttrs x && !builtins.isFunction x) modules; + filter (x: !isAttrs x && !lib.isFunction x) modules; # Partition module files because between NixOS and non-NixOS files. NixOS # files may change if the repository is updated. |