Fix go_1_6 test

In a user namespace, sending credentials for an unmapped user return
EINVAL instead of EPERM. So handle that case.
This commit is contained in:
Graham Christensen 2016-12-21 19:30:06 -05:00
parent 2c03037450
commit adc2a8f648
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -110,6 +110,7 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./remove-tools-1.5.patch ./remove-tools-1.5.patch
./creds-test.patch
]; ];
GOOS = if stdenv.isDarwin then "darwin" else "linux"; GOOS = if stdenv.isDarwin then "darwin" else "linux";