lib/debug: fix use-sites of deprecated debug functions

This commit is contained in:
Profpatsch
2018-04-27 18:59:39 +02:00
parent 562286aa56
commit b90104ea0e
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -33,7 +33,11 @@ let
configType = mkOptionType {
name = "nixpkgs-config";
description = "nixpkgs config";
check = traceValIfNot isConfig;
check = x:
let traceXIfNot = c:
if c x then true
else lib.traceSeqN 1 x false;
in traceXIfNot isConfig;
merge = args: fold (def: mergeConfig def.value) {};
};