mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
google-compute-engine-oslogin: update /bin/bash substitution
This commit is contained in:
parent
2f5beaec08
commit
a1d9aca602
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user