From 48a28c399c3976983eda80890258b0f8913f6f43 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 11 Jul 2019 13:39:30 +0200 Subject: [PATCH] jupyter-kernel: remove traceVal `traceVal` is only for debugging and should not be delivered. Partial revert of f72d7c49d58e0ab1ea948e015eeee9b4b5af4036, fixes ofBorg eval. --- pkgs/applications/editors/jupyter/kernel.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/jupyter/kernel.nix b/pkgs/applications/editors/jupyter/kernel.nix index b34a956410e1..4a079625d183 100644 --- a/pkgs/applications/editors/jupyter/kernel.nix +++ b/pkgs/applications/editors/jupyter/kernel.nix @@ -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;}