about summary refs log tree commit diff
path: root/nixos/tests/ec2.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-30 22:21:56 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-30 22:22:40 +0200
commit1783e33b060abce8471219b582195b30eee6e9c9 (patch)
tree56087ae0504ff24548262c855be722c764155641 /nixos/tests/ec2.nix
parent18451597059455d3dd7683dad42d6d5f58d7f8de (diff)
Fix the boot-ec2-config test
Diffstat (limited to 'nixos/tests/ec2.nix')
-rw-r--r--nixos/tests/ec2.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/tests/ec2.nix b/nixos/tests/ec2.nix
index 597bfe89fb02a..e1f7143e3a956 100644
--- a/nixos/tests/ec2.nix
+++ b/nixos/tests/ec2.nix
@@ -20,6 +20,14 @@ let
               ln -s vda /dev/xvda
               ln -s vda1 /dev/xvda1
             '';
+
+          # Needed by nixos-rebuild due to the lack of network
+          # access. Mostly copied from
+          # modules/profiles/installation-device.nix.
+          system.extraDependencies =
+            [ pkgs.stdenv pkgs.busybox pkgs.perlPackages.ArchiveCpio
+              pkgs.unionfs-fuse pkgs.mkinitcpio-nfs-utils
+            ];
         }
       ];
     }).config.system.build.amazonImage;