ocaml: rename name to pname

This commit is contained in:
Felix Buehler 2022-03-01 14:55:45 +01:00
parent cba041c35d
commit 103f0186e1

View file

@ -28,7 +28,7 @@ in
let
useNativeCompilers = !stdenv.isMips;
inherit (lib) optional optionals optionalString;
name = "ocaml${optionalString aflSupport "+afl"}${optionalString spaceTimeSupport "+spacetime"}${optionalString flambdaSupport "+flambda"}-${version}";
pname = "ocaml${optionalString aflSupport "+afl"}${optionalString spaceTimeSupport "+spacetime"}${optionalString flambdaSupport "+flambda"}";
in
let
@ -41,10 +41,7 @@ in
stdenv.mkDerivation (args // {
inherit name;
inherit version;
inherit src;
inherit pname version src;
patches = map fetchpatch' patches;