diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/ocaml.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/ocaml.nix b/modules/ocaml.nix index 73eba39..8c42bee 100644 --- a/modules/ocaml.nix +++ b/modules/ocaml.nix @@ -43,9 +43,8 @@ in { enable = mkEnableOption { name = "ocaml"; }; version = mkOption { type = types.uniq types.str; - default = (builtins.parseDrvName cfg.ocamlPackages.ocaml.name).version; - defaultText = literalExample - "(builtins.parseDrvName config.ocaml.ocamlPackages.ocaml.name).version"; + default = cfg.ocamlPackages.ocaml.version; + defaultText = literalExample "cfg.ocamlPackages.ocaml.version"; description = '' The version of OCaml. This option only exist for propagating the version of OCaml through the configuration. As such, it should not be set manually |
