Merge pull request #32944 from P-E-Meunier/fix-gce

Fixing tests for Google Compute Engine
This commit is contained in:
Sarah Brofeldt 2017-12-21 19:29:53 +01:00 committed by GitHub
commit 694afb39eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@
, utillinux
, boto
, setuptools
, mock
}:
buildPythonApplication rec {
@ -21,6 +22,8 @@ buildPythonApplication rec {
sha256 = "0hlzcrf6yhzan25f4wzy1vbncak9whhqzrzza026ly3sq0smmjpg";
};
buildInputs = [ mock ];
postPatch = ''
for file in $(find google_compute_engine -type f); do
substituteInPlace "$file" \