summary refs log tree commit diff
path: root/release/live/shell.nix
blob: 7cec144def77af854a01ccffccbf1433ec4bc103 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021-2022 Alyssa Ross <hi@alyssa.is>

import ../../nix/eval-config.nix ({ config, ... }:

with config.pkgs;

(import ./. { inherit config; }).overrideAttrs (
  { nativeBuildInputs ? [], ... }:
  {
    nativeBuildInputs = nativeBuildInputs ++ [ qemu_kvm ];

    OVMF_CODE = "${qemu_kvm}/share/qemu/edk2-${stdenv.hostPlatform.qemuArch}-code.fd";
  }
))