From 103f0186e15a0485a9cd612b710e17e91e561e31 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Tue, 1 Mar 2022 14:55:45 +0100 Subject: [PATCH] ocaml: rename name to pname --- pkgs/development/compilers/ocaml/generic.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/ocaml/generic.nix b/pkgs/development/compilers/ocaml/generic.nix index 51c45616d395..0573b43f5e23 100644 --- a/pkgs/development/compilers/ocaml/generic.nix +++ b/pkgs/development/compilers/ocaml/generic.nix @@ -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;