diff --git a/pkgs/development/ocaml-modules/uutf/default.nix b/pkgs/development/ocaml-modules/uutf/default.nix index 86ce05644618..8c3c333c96a6 100644 --- a/pkgs/development/ocaml-modules/uutf/default.nix +++ b/pkgs/development/ocaml-modules/uutf/default.nix @@ -17,8 +17,9 @@ throw "uutf is not available with OCaml ${ocaml.version}", }: -stdenv.mkDerivation { - name = "ocaml${ocaml.version}-uutf-${version}"; +stdenv.mkDerivation (finalAttrs: { + name = "ocaml${ocaml.version}-${finalAttrs.pname}-${finalAttrs.version}"; + pname = "uutf"; inherit version; src = fetchurl { @@ -56,4 +57,4 @@ stdenv.mkDerivation { mainProgram = "utftrip"; inherit (ocaml.meta) platforms; }; -} +})