Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql: improve fake pg_config in default output #341421

Merged
merged 2 commits into from
Sep 21, 2024

Commits on Sep 16, 2024

  1. timescaledb: use replace-fail instead of replace for substituteInPlace

    To avoid the deprecation warning.
    wolfgangwalther committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    eb709dd View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. postgresql: improve fake pg_config in default output

    This fixes some build systems which look up the location of pg_config
    via the location of the postgres binary itself, e.g. timescaledb,
    instead of calling pg_config which is on PATH.
    
    Since the -dev output is correctly placed before the default output of
    postgresql in PATH, we can rely on that and call "pg_config" from the
    default output's fake script. Only do that, when the one on PATH is
    actually a different file, though, to prevent infinite loops.
    
    Resolves NixOS#341408
    wolfgangwalther committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    0c47767 View commit details
    Browse the repository at this point in the history