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

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

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

{
  nativeBuildInputs = nativeBuildInputs ++ [ cloud-hypervisor jq qemu_kvm reuse ];

  KERNEL = "${passthru.kernel.dev}/vmlinux";
}))