mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixos/lib/make-*-disk-zfs-image: fix build
Those two helpers have not received the memo about a new requirement for virtiofs and about changes regarding the zfs related attributes. Can be tested with nix/release.nix' amazonImageZfs.
This commit is contained in:
parent
a6dbc4b689
commit
d16aa077d2
2 changed files with 12 additions and 10 deletions
|
@ -123,10 +123,10 @@ let
|
|||
};
|
||||
|
||||
modulesTree = pkgs.aggregateModules (
|
||||
with config.boot.kernelPackages;
|
||||
with config.boot;
|
||||
[
|
||||
kernel
|
||||
zfs
|
||||
kernelPackages.kernel
|
||||
kernelPackages.${pkgs.zfs.kernelModuleAttribute}
|
||||
]
|
||||
);
|
||||
|
||||
|
@ -254,11 +254,12 @@ let
|
|||
image =
|
||||
(pkgs.vmTools.override {
|
||||
rootModules = [
|
||||
"zfs"
|
||||
"9p"
|
||||
"9pnet_virtio"
|
||||
"virtio_pci"
|
||||
"virtio_blk"
|
||||
"virtio_pci"
|
||||
"virtiofs"
|
||||
"zfs"
|
||||
];
|
||||
kernel = modulesTree;
|
||||
}).runInLinuxVM
|
||||
|
|
|
@ -111,10 +111,10 @@ let
|
|||
};
|
||||
|
||||
modulesTree = pkgs.aggregateModules (
|
||||
with config.boot.kernelPackages;
|
||||
with config.boot;
|
||||
[
|
||||
kernel
|
||||
zfs
|
||||
kernelPackages.kernel
|
||||
kernelPackages.${pkgs.zfs.kernelModuleAttribute}
|
||||
]
|
||||
);
|
||||
|
||||
|
@ -242,11 +242,12 @@ let
|
|||
image =
|
||||
(pkgs.vmTools.override {
|
||||
rootModules = [
|
||||
"zfs"
|
||||
"9p"
|
||||
"9pnet_virtio"
|
||||
"virtio_pci"
|
||||
"virtio_blk"
|
||||
"virtio_pci"
|
||||
"virtiofs"
|
||||
"zfs"
|
||||
];
|
||||
kernel = modulesTree;
|
||||
}).runInLinuxVM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue