Skip to content

Commit

Permalink
Change most package inputs to just lists of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Oct 1, 2024
1 parent befc446 commit 8722871
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion modules/kernels/coq/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ with lib;

packages = mkOption {
example = "List of Coq packages to use";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};
coqPackages = mkOption {
Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/cpp/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ with lib;

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};

Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/go/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ with lib;

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};

Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/haskell/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ with lib;

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};
ghcPackage = mkOption {
Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/julia/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ with lib;

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};

Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/octave/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ with lib;

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};

Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/postgres/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ with lib;

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};

Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/python/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};

Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/r/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ with lib;

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};

Expand Down
2 changes: 1 addition & 1 deletion modules/kernels/ruby/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ in

packages = mkOption {
example = "List of packages";
type = types.listOf (types.either types.str types.attrs);
type = types.listOf types.str;
default = [];
};

Expand Down

0 comments on commit 8722871

Please sign in to comment.