Skip to content

Commit

Permalink
psqlodbc: add updateScript
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed Jan 1, 2025
1 parent f4a9f96 commit eeede53
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkgs/by-name/ps/psqlodbc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
autoreconfHook,
postgresql,
openssl,
Expand Down Expand Up @@ -36,10 +37,14 @@ stdenv.mkDerivation rec {
autoreconfHook
];

passthru = lib.optionalAttrs withUnixODBC {
fancyName = "PostgreSQL";
driver = "lib/psqlodbcw.so";
};
passthru =
{
updateScript = nix-update-script { };
}
// lib.optionalAttrs withUnixODBC {
fancyName = "PostgreSQL";
driver = "lib/psqlodbcw.so";
};

configureFlags = [
"--with-libpq=${lib.getDev postgresql}/bin/pg_config"
Expand Down

0 comments on commit eeede53

Please sign in to comment.