nixpkgs/pkgs/tools
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
..
admin google-cloud-sdk: fix searching for cloud_sql_proxy on the PATH (#114488) 2021-02-28 12:05:26 +00:00
archivers Merge staging-next into staging 2021-02-20 00:36:40 +00:00
audio Merge pull request #113996 from dotlambda/abcmidi-2021.02.21 2021-02-23 08:47:37 +01:00
backup Merge master into staging-next 2021-02-26 10:25:13 +01:00
bluetooth treewide: xdg_utils -> xdg-utils 2021-02-01 15:05:09 +07:00
bootloaders/refind refind: 0.13.0 -> 0.13.1 2021-02-25 23:57:16 -05:00
cd-dvd treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
compression Merge pull request #113327 from helsinki-systems/upd/lrzip 2021-02-19 20:47:58 +01:00
filesystems Merge pull request #113137 from lukegb/ceph 2021-02-27 00:26:47 +01:00
games/ajour ajour: 0.7.0 -> 0.7.1 2021-02-16 14:12:23 +00:00
graphics pfstools: use imagemagick6 2021-02-27 18:37:08 +01:00
inputmethods Merge master into staging-next 2021-02-26 10:25:13 +01:00
misc miniserve: 0.10.4 -> 0.11.0 2021-02-28 14:31:10 +10:00
networking webwormhole: init at git-2021-01-16 (#114269) 2021-02-26 20:24:44 -05:00
nix Merge pull request #113939 from SuperSandro2000/nixpkgs-fmt 2021-02-22 02:14:44 +01:00
package-management opkg: 0.4.3 -> 0.4.4 2021-02-26 21:18:52 -05:00
security git-credential-gopass: init at 1.12.0 (#114457) 2021-02-26 11:37:34 -05:00
system monit: add ryantm to maintainers 2021-02-26 11:37:18 -08:00
text rst2html5: fix download now that it is a wheel 2021-02-27 10:30:42 -08:00
toml2nix
typesetting Merge master into staging-next 2021-02-26 10:25:13 +01:00
video Merge pull request #113184 from dali99/update_vsci_7_0_13 2021-02-25 01:14:19 +01:00
virtualization Merge master into staging-next 2021-02-26 10:25:13 +01:00
wayland wlr-randr: eliminate unneeded cmake dependency 2021-02-16 17:25:32 -03:00
X11 Merge staging-next into staging 2021-02-20 00:36:40 +00:00