diff --git a/pkgs/tools/virtualization/google-compute-engine/default.nix b/pkgs/tools/virtualization/google-compute-engine/default.nix index bd766d7c5a9f..4621fe8f1567 100644 --- a/pkgs/tools/virtualization/google-compute-engine/default.nix +++ b/pkgs/tools/virtualization/google-compute-engine/default.nix @@ -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" \