nixos/tests/installer.nix: add libxml2 & libxslt to prevent download attempts

This commit is contained in:
obadz 2016-07-24 16:17:04 +01:00
parent f8fad62c8e
commit 74b3ad148d

View File

@ -201,19 +201,21 @@ let
# The test cannot access the network, so any packages we # The test cannot access the network, so any packages we
# need must be included in the VM. # need must be included in the VM.
system.extraDependencies = system.extraDependencies = with pkgs;
[ pkgs.sudo [ sudo
pkgs.docbook5 libxml2.bin
pkgs.docbook5_xsl libxslt.bin
pkgs.unionfs-fuse docbook5
pkgs.ntp docbook5_xsl
pkgs.nixos-artwork unionfs-fuse
pkgs.perlPackages.XMLLibXML ntp
pkgs.perlPackages.ListCompare nixos-artwork
perlPackages.XMLLibXML
perlPackages.ListCompare
# add curl so that rather than seeing the test attempt to download # add curl so that rather than seeing the test attempt to download
# curl's tarball, we see what it's trying to download # curl's tarball, we see what it's trying to download
pkgs.curl curl
] ]
++ optional (bootLoader == "grub" && grubVersion == 1) pkgs.grub ++ optional (bootLoader == "grub" && grubVersion == 1) pkgs.grub
++ optionals (bootLoader == "grub" && grubVersion == 2) [ pkgs.grub2 pkgs.grub2_efi ]; ++ optionals (bootLoader == "grub" && grubVersion == 2) [ pkgs.grub2 pkgs.grub2_efi ];