···103103 self._send_json_ok(gen_mockuser(username=username, uid=uid, gid=uid, home_directory=f"/home/{username}", snakeoil_pubkey=SNAKEOIL_PUBLIC_KEY))
104104 return
105105106106+ # we need to provide something at the groups endpoint.
107107+ # the nss module does segfault if we don't.
108108+ elif pu.path == "/computeMetadata/v1/oslogin/groups":
109109+ self._send_json_ok({
110110+ "posixGroups": [
111111+ {"name" : "demo", "gid" : 4294967295}
112112+ ],
113113+ })
114114+ return
115115+106116 # authorize endpoint
107117 elif pu.path == "/computeMetadata/v1/oslogin/authorize":
108118 # is user allowed to login?
···1111 "11.4" = "082dkk5y34wyvjgj2p5j1d00rk8xaxb9z0mhvz16bd469r1bw2qk";
1212 "11.5" = "sha256-AKRZbke0K59lakhTi8dX2cR2aBuWPZkiQxyKaZTvHrI=";
1313 "11.6" = "sha256-AsLNmAplfuQbXg9zt09tXAuFJ524EtTYsQuUlV1tPkE=";
1414- # maybe fixed by https://github.com/NVIDIA/cuda-samples/pull/133
1514 "11.7" = throw "The tag 11.7 of cuda-samples does not exist";
1616- "11.8" = throw "The tag 11.8 of cuda-samples does not exist";
1515+ "11.8" = "sha256-7+1P8+wqTKUGbCUBXGMDO9PkxYr2+PLDx9W2hXtXbuc=";
1716 }.${prev.cudaVersion};
18171918in {