Unverified Commit 8eafc61e authored by Jaakko Luttinen's avatar Jaakko Luttinen
Browse files

nixos/jupyter: make kernel options freeform JSON

parent 5b520df3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ in {

    kernels = mkOption {
      type = types.nullOr (types.attrsOf(types.submodule (import ./kernel-options.nix {
        inherit lib;
        inherit lib pkgs;
      })));

      default = null;
+3 −1
Original line number Diff line number Diff line
# Options that can be used for creating a jupyter kernel.
{ lib }:
{ lib, pkgs }:

with lib;

{
  freeformType = (pkgs.formats.json { }).type;

  options = {

    displayName = mkOption {
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ in {

    kernels = mkOption {
      type = types.nullOr (types.attrsOf(types.submodule (import ../jupyter/kernel-options.nix {
        inherit lib;
        inherit lib pkgs;
      })));

      default = null;