summary refs log tree commit diff
path: root/pkgs/tools/virtualization/google-compute-engine
diff options
context:
space:
mode:
authorpe@pijul.org <pe@pijul.org>2017-12-21 18:49:26 +0100
committerpe@pijul.org <pe@pijul.org>2017-12-21 18:49:26 +0100
commit85c70266ea7c869dc5e2f70a608739ee5a952553 (patch)
tree9d0f8c48ce1210b3d3ba8219431391da78ae6be5 /pkgs/tools/virtualization/google-compute-engine
parent9646fae946105e9d3702bbfed110be2aacab24b2 (diff)
downloadnixpkgs-85c70266ea7c869dc5e2f70a608739ee5a952553.tar
nixpkgs-85c70266ea7c869dc5e2f70a608739ee5a952553.tar.gz
nixpkgs-85c70266ea7c869dc5e2f70a608739ee5a952553.tar.bz2
nixpkgs-85c70266ea7c869dc5e2f70a608739ee5a952553.tar.lz
nixpkgs-85c70266ea7c869dc5e2f70a608739ee5a952553.tar.xz
nixpkgs-85c70266ea7c869dc5e2f70a608739ee5a952553.tar.zst
nixpkgs-85c70266ea7c869dc5e2f70a608739ee5a952553.zip
Fixing tests for Google Compute Engine
Diffstat (limited to 'pkgs/tools/virtualization/google-compute-engine')
-rw-r--r--pkgs/tools/virtualization/google-compute-engine/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/virtualization/google-compute-engine/default.nix b/pkgs/tools/virtualization/google-compute-engine/default.nix
index bd766d7c5a9..4621fe8f156 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" \