postgresql: change pname for postgresql_jit attributes to postgresql-jit

This is for consistency between the top-level attribute and the respective package
name, which makes it easier to track derivations.
This commit is contained in:
Wolfgang Walther
2024-04-04 08:41:17 +02:00
parent aea4ba847a
commit 29d5adb676
+2 -1
View File
@@ -46,7 +46,8 @@ let
stdenv' = if jitSupport then llvmPackages.stdenv else stdenv;
in stdenv'.mkDerivation (finalAttrs: {
inherit pname version;
inherit version;
pname = pname + lib.optionalString jitSupport "-jit";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";