jupyter-kernel: remove traceVal

`traceVal` is only for debugging and should not be delivered.

Partial revert of f72d7c49d5, fixes ofBorg eval.
This commit is contained in:
Frederik Rietdijk 2019-07-11 13:39:30 +02:00
parent 95395fbf54
commit 48a28c399c

View File

@ -40,7 +40,7 @@ in
${concatStringsSep "\n" (mapAttrsToList (kernelName: unfilteredKernel:
let
allowedKernelKeys = ["argv" "displayName" "language" "interruptMode" "env" "metadata" "logo32" "logo64"];
kernel = traceVal (filterAttrs (n: v: (any (x: x == n) allowedKernelKeys)) unfilteredKernel);
kernel = filterAttrs (n: v: (any (x: x == n) allowedKernelKeys)) unfilteredKernel;
config = builtins.toJSON (
kernel
// {display_name = if (kernel.displayName != "") then kernel.displayName else kernelName;}