1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| | # SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
(import ./. { inherit pkgs; }).overrideAttrs (
{ passthru ? {}, nativeBuildInputs ? [], ... }:
{
nativeBuildInputs = nativeBuildInputs ++ [
jq netcat qemu_kvm reuse util-linux
];
EXT_FS = pkgsStatic.callPackage ../initramfs/extfs.nix { inherit pkgs; };
KERNEL = "${passthru.kernel}/${stdenv.hostPlatform.linux-kernel.target}";
})
|