summary refs log tree commit diff
path: root/lib/debug.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-01-31 14:02:19 -0500
committerShea Levy <shea@shealevy.com>2018-01-31 14:02:19 -0500
commit943592f69850fd07dd2422da062b1c1ebc45974d (patch)
tree3376a06cd3ab25a1622c8f320573ab09b55a9470 /lib/debug.nix
parent0d7a0d7572d35526ddf34b6d011b7b88a8904b36 (diff)
downloadnixpkgs-943592f69850fd07dd2422da062b1c1ebc45974d.tar
nixpkgs-943592f69850fd07dd2422da062b1c1ebc45974d.tar.gz
nixpkgs-943592f69850fd07dd2422da062b1c1ebc45974d.tar.bz2
nixpkgs-943592f69850fd07dd2422da062b1c1ebc45974d.tar.lz
nixpkgs-943592f69850fd07dd2422da062b1c1ebc45974d.tar.xz
nixpkgs-943592f69850fd07dd2422da062b1c1ebc45974d.tar.zst
nixpkgs-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 'lib/debug.nix')
-rw-r--r--lib/debug.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debug.nix b/lib/debug.nix
index 646ef220ad0..d163e60b695 100644
--- a/lib/debug.nix
+++ b/lib/debug.nix
@@ -2,10 +2,10 @@
 
 let
 
-inherit (builtins) trace attrNamesToStr isAttrs isFunction isList isInt
+inherit (builtins) trace attrNamesToStr isAttrs isList isInt
         isString isBool head substring attrNames;
 
-inherit (lib) all id mapAttrsFlatten elem;
+inherit (lib) all id mapAttrsFlatten elem isFunction;
 
 in