forked from mirrors/nixpkgs
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:
parent
95395fbf54
commit
48a28c399c
|
@ -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;}
|
||||
|
|
Loading…
Reference in a new issue