Skip to content

Commit

Permalink
postgresql: add doc/man outputChecks for all versions
Browse files Browse the repository at this point in the history
See a0919c7 for rationale.
  • Loading branch information
wolfgangwalther committed Jan 4, 2025
1 parent 9a3ba06 commit cb4b0fd
Showing 1 changed file with 39 additions and 42 deletions.
81 changes: 39 additions & 42 deletions pkgs/servers/sql/postgresql/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -146,52 +146,49 @@ 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 = {
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"
];
};
lib = {
disallowedReferences = [
"out"
"dev"
"doc"
"man"
];
disallowedRequisites = [
stdenv'.cc
llvmPackages.llvm.out
] ++ (map lib.getDev (builtins.filter (drv: drv ? "dev") finalAttrs.buildInputs));
};

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

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

strictDeps = true;

buildInputs =
Expand Down

0 comments on commit cb4b0fd

Please sign in to comment.