ocamlPackages.uutf: set pname instead of name

This commit is contained in:
jopejoe1
2026-01-28 09:25:57 +01:00
parent 7a99191cf1
commit e12c398240
@@ -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;
};
}
})