nixpkgs/pkgs
Pavel Borzenkov d6876bc879
google-cloud-sdk: fix searching for cloud_sql_proxy on the PATH (#114488)
'gcloud sql connect' command allows to connect to a CloudSQL instance
from a local machine. In order to do so, it starts local
'cloud_sdk_proxy' instance. google-cloud-sdk expects to find one in SDK
root (installed by 'gcloud components') or on the PATH, if SDK is not
correctly installed ('.install' directory is missing).

Since google-cloud-sdk on NixOS is properly installed 'gcloud sql
connect' never looks for 'cloud_sql_proxy' on the PATH and simply
doesn't work at all.

The patch slightly modifies the check by looking not only for
'.install' directory, but for actual 'cloud_sql_proxy' binary before
falling back to the search on the PATH.

With this patch it's now possible to use 'gcloud sql connect' on NixOS,
provided that 'cloud_sql_proxy' is available either in user or system
enviroment (available in nixpkgs).
2021-02-28 12:05:26 +00:00
..
applications gitkraken: 7.5.0 -> 7.5.1 2021-02-27 20:53:41 -05:00
build-support Merge master into staging-next 2021-02-26 10:25:13 +01:00
common-updater
data julia-mono 0.022 → 0.034 2021-02-28 04:46:35 -05:00
desktops Merge master into staging-next 2021-02-26 10:25:13 +01:00
development python3Packages.pygraphviz: 1.6 -> 1.7 (#113040) 2021-02-28 12:36:57 +01:00
games treewide: replace imagemagick7 with imagemagick 2021-02-27 18:36:56 +01:00
misc vscode-extensions.gruntfuggly.todo-tree: 0.0.196 -> 0.0.198 2021-02-27 23:59:34 +01:00
os-specific libaio: fixup static compilation 2021-02-27 21:29:19 +00:00
pkgs-lib
servers Merge pull request #114587 from fabaff/pytankerkoenig 2021-02-28 00:34:47 +01:00
shells zsh-fzf-tab: unstable-2021-01-24 -> unstable-2021-02-14 2021-02-27 13:00:29 +08:00
stdenv
test
tools google-cloud-sdk: fix searching for cloud_sql_proxy on the PATH (#114488) 2021-02-28 12:05:26 +00:00
top-level cvise: init at 2.1.0 (#114197) 2021-02-28 04:12:14 +00:00