about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix b/nixpkgs/pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix
index cefae4af027c..9e271fe186b5 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/ocamlformat/ocamlformat-lib.nix
@@ -1,6 +1,7 @@
-{ lib, callPackage, buildDunePackage, menhir, version ? "0.25.1" }:
+# Version can be selected with the 'version' argument, see generic.nix.
+{ lib, callPackage, buildDunePackage, menhir, ... }@args:
 
-let inherit (callPackage ./generic.nix { inherit version; }) src library_deps;
+let inherit (callPackage ./generic.nix args) src version library_deps;
 
 in assert (lib.versionAtLeast version "0.25.1");