Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: psqlodbc 0 -> 1 attrpath: psqlodbc Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/h4z4g73isgnvzlyrd8wmkp2696pnkj5s-packages.json.drv building '/nix/store/h4z4g73isgnvzlyrd8wmkp2696pnkj5s-packages.json.drv'... Going to be running update for following packages: - psqlodbc-18.00.0005 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - psqlodbc-18.00.0005: UPDATING ... - psqlodbc-18.00.0005: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ps/psqlodbc/package.nix b/pkgs/by-name/ps/psqlodbc/package.nix index 0321375dfd98..bcd526fe9c1f 100644 --- a/pkgs/by-name/ps/psqlodbc/package.nix +++ b/pkgs/by-name/ps/psqlodbc/package.nix @@ -18,13 +18,13 @@ assert lib.xor withLibiodbc withUnixODBC; stdenv.mkDerivation (finalAttrs: { pname = "psqlodbc"; - version = "18.00.0005"; + version = "18.00.0006"; src = fetchFromGitHub { owner = "postgresql-interfaces"; repo = "psqlodbc"; tag = "REL-${lib.replaceString "." "_" finalAttrs.version}"; - hash = "sha256-eTTSMmV4HdhfvcswWhzXP5ZqsUD/TPpdYwjhAxtQsrs="; + hash = "sha256-gQQzusGCodqyCXbBqSxIpbtNqd9YSjbETOdf6o+NPe4="; }; buildInputs = [ No auto update branch exists Old version 18.00.0005" not present in staging derivation file with contents: { autoreconfHook, fetchFromGitHub, lib, libpq, nix-update-script, openssl, stdenv, withLibiodbc ? false, libiodbc, withUnixODBC ? true, unixodbc, }: assert lib.xor withLibiodbc withUnixODBC; stdenv.mkDerivation (finalAttrs: { pname = "psqlodbc"; version = "18.00.0006"; src = fetchFromGitHub { owner = "postgresql-interfaces"; repo = "psqlodbc"; tag = "REL-${lib.replaceString "." "_" finalAttrs.version}"; hash = "sha256-gQQzusGCodqyCXbBqSxIpbtNqd9YSjbETOdf6o+NPe4="; }; buildInputs = [ libpq openssl ] ++ lib.optional withLibiodbc libiodbc ++ lib.optional withUnixODBC unixodbc; nativeBuildInputs = [ autoreconfHook ]; strictDeps = true; configureFlags = [ "CPPFLAGS=-DSQLCOLATTRIBUTE_SQLLEN" # needed for cross "--with-libpq=${lib.getDev libpq}" ] ++ lib.optional withLibiodbc "--with-iodbc=${libiodbc}" ++ lib.optional withUnixODBC "--with-unixodbc=${unixodbc}"; passthru = { updateScript = nix-update-script { extraArgs = [ "--version-regex=^REL-(\\d+)_(\\d+)_(\\d+)$" ]; }; } // lib.optionalAttrs withUnixODBC { fancyName = "PostgreSQL"; driver = "lib/psqlodbcw.so"; }; __structuredAttrs = true; meta = { homepage = "https://odbc.postgresql.org/"; description = "ODBC driver for PostgreSQL"; license = lib.licenses.lgpl2; platforms = lib.platforms.unix; teams = libpq.meta.teams; }; })