google-compute-engine-oslogin: update /bin/bash substitution

This commit is contained in:
Orivej Desh 2019-07-29 23:28:12 +00:00
parent 2f5beaec08
commit a1d9aca602

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
# change sudoers dir from /var/google-sudoers.d to /run/google-sudoers.d (managed through systemd-tmpfiles)
substituteInPlace pam_module/pam_oslogin_admin.cc --replace /var/google-sudoers.d /run/google-sudoers.d
# fix "User foo not allowed because shell /bin/bash does not exist"
substituteInPlace utils/oslogin_utils.cc --replace /bin/bash ${stdenv.shell}
substituteInPlace compat.h --replace /bin/bash ${stdenv.shell}
'';
buildInputs = [ curl.dev pam ];