diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-12-06 20:25:19 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-01-22 12:53:24 +0200 |
commit | 44326993f4a32f0d7137e5125e877ebd8d821b2d (patch) | |
tree | 98956f8d54f37524ea26fbcc6b29777328f6b5c6 /pkgs | |
parent | 77d843676e24f198384cf5d81fe4fca98130ed3b (diff) |
build-support/vm: Autodetect kernel filename
It's 'Image' on AArch64.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/vm/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix index 64f4a759e1be8..ea6c6cf790ca4 100644 --- a/pkgs/build-support/vm/default.nix +++ b/pkgs/build-support/vm/default.nix @@ -1,6 +1,6 @@ { pkgs , kernel ? pkgs.linux -, img ? "bzImage" +, img ? pkgs.stdenv.platform.kernelTarget , storeDir ? builtins.storeDir , rootModules ? [ "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_balloon" "virtio_rng" "ext4" "unix" "9p" "9pnet_virtio" "rtc_cmos" ] |