summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorxeji <36407913+xeji@users.noreply.github.com>2018-09-19 16:19:31 +0200
committerGitHub <noreply@github.com>2018-09-19 16:19:31 +0200
commitdaf40ab165089f2b5f30ebf3dc047f5dfd309d97 (patch)
treea3e5a5befa189c30638897cb21ce7dda37b02b23 /nixos/tests
parent012682222fc733ad52a28d58eb69b255779e4810 (diff)
downloadnixlib-daf40ab165089f2b5f30ebf3dc047f5dfd309d97.tar
nixlib-daf40ab165089f2b5f30ebf3dc047f5dfd309d97.tar.gz
nixlib-daf40ab165089f2b5f30ebf3dc047f5dfd309d97.tar.bz2
nixlib-daf40ab165089f2b5f30ebf3dc047f5dfd309d97.tar.lz
nixlib-daf40ab165089f2b5f30ebf3dc047f5dfd309d97.tar.xz
nixlib-daf40ab165089f2b5f30ebf3dc047f5dfd309d97.tar.zst
nixlib-daf40ab165089f2b5f30ebf3dc047f5dfd309d97.zip
nixos/tests/containers-imperative: fix on i686 (#46874)
Test failed on i686 in a sandbox because some packages required
to build the nixos manual for the container were missing. Add them.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/containers-imperative.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/nixos/tests/containers-imperative.nix b/nixos/tests/containers-imperative.nix
index 913d8bed19d0..6f86819f4e88 100644
--- a/nixos/tests/containers-imperative.nix
+++ b/nixos/tests/containers-imperative.nix
@@ -13,6 +13,7 @@ import ./make-test.nix ({ pkgs, ...} : {
       # XXX: Sandbox setup fails while trying to hardlink files from the host's
       #      store file system into the prepared chroot directory.
       nix.useSandbox = false;
+      nix.binaryCaches = []; # don't try to access cache.nixos.org
 
       virtualisation.writableStore = true;
       virtualisation.memorySize = 1024;
@@ -27,9 +28,10 @@ import ./make-test.nix ({ pkgs, ...} : {
             };
           };
         };
-      in [
-        pkgs.stdenv pkgs.stdenvNoCC emptyContainer.config.containers.foo.path
-        pkgs.libxslt
+      in with pkgs; [
+        stdenv stdenvNoCC emptyContainer.config.containers.foo.path
+        libxslt desktop-file-utils texinfo docbook5 libxml2
+        docbook_xsl_ns xorg.lndir documentation-highlighter
       ];
     };