From 85c70266ea7c869dc5e2f70a608739ee5a952553 Mon Sep 17 00:00:00 2001 From: "pe@pijul.org" Date: Thu, 21 Dec 2017 18:49:26 +0100 Subject: [PATCH] Fixing tests for Google Compute Engine --- pkgs/tools/virtualization/google-compute-engine/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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" \