Skip to content

Commit

Permalink
postgresql_14: fix build (#368091)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther authored Jan 2, 2025
2 parents 626ab3c + a0919c7 commit 5aabe24
Showing 1 changed file with 45 additions and 23 deletions.
68 changes: 45 additions & 23 deletions pkgs/servers/sql/postgresql/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -146,29 +146,51 @@ let
"lib"
"man"
];
outputChecks.out = {
disallowedReferences = [
"dev"
"doc"
"man"
];
disallowedRequisites = [
stdenv'.cc
llvmPackages.llvm.out
] ++ (map lib.getDev (builtins.filter (drv: drv ? "dev") finalAttrs.buildInputs));
};
outputChecks.lib = {
disallowedReferences = [
"out"
"dev"
"doc"
"man"
];
disallowedRequisites = [
stdenv'.cc
llvmPackages.llvm.out
] ++ (map lib.getDev (builtins.filter (drv: drv ? "dev") finalAttrs.buildInputs));
};
outputChecks =
{
out = {
disallowedReferences = [
"dev"
"doc"
"man"
];
disallowedRequisites = [
stdenv'.cc
llvmPackages.llvm.out
] ++ (map lib.getDev (builtins.filter (drv: drv ? "dev") finalAttrs.buildInputs));
};

lib = {
disallowedReferences = [
"out"
"dev"
"doc"
"man"
];
disallowedRequisites = [
stdenv'.cc
llvmPackages.llvm.out
] ++ (map lib.getDev (builtins.filter (drv: drv ? "dev") finalAttrs.buildInputs));
};
}
// lib.optionalAttrs (atLeast "14" && olderThan "15") {
# TODO: Make this unconditional via staging because of number of rebuilds.
doc = {
disallowedReferences = [
"out"
"dev"
"man"
];
};

man = {
disallowedReferences = [
"out"
"dev"
"doc"
];
};
};

strictDeps = true;

Expand Down

0 comments on commit 5aabe24

Please sign in to comment.