1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

NIX: Use VM images with the correct root module list.

This commit is contained in:
Petr Rockai 2014-04-26 13:45:23 +02:00
parent 3bce3ad52a
commit 75d399800a

View File

@ -147,10 +147,10 @@ let
[ "loop" "dm_mod" "dm_snapshot" "dm_mirror" "dm_zero" "dm_raid" "dm_thin_pool" ]; };
release = import "${nixpkgs}/pkgs/build-support/release/default.nix" {
pkgs = pkgs // { vmTools = tools; }; };
imgs = pkgs.vmTools.diskImageFuns //
imgs = tools.diskImageFuns //
mapAttrs (n: a: b: pkgs.vmTools.makeImageFromRPMDist (a // b)) extra_distros;
rpmdistros = pkgs.vmTools.rpmDistros // extra_distros;
rpmbuild = pkgs.vmTools.buildRPM;
rpmdistros = tools.rpmDistros // extra_distros;
rpmbuild = tools.buildRPM;
};
extra_rpms = rec {