diff --git a/nix/default.nix b/nix/default.nix
index 0a46325110ab3fda1f14fa87ba54ad9f22ccb155..c6ccaa3bd6e9c312cce48d23eec5531b23dc4d77 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -33,8 +33,8 @@ in
 
 pkgs.lib.makeExtensible
 (self: {
-  inherit src mk_buildInputs opamPackages mk_deriv;
-  gen-opam-selection = mk_opam_derivations self.opamPackages;
+  inherit src mk_buildInputs mk_opam_derivations opamPackages mk_deriv;
+  gen-opam-selection = self.mk_opam_derivations self.opamPackages;
   buildInputs = mk_buildInputs {};
   installed = self.main.out;
   main = mk_deriv {