patches and low-level development discussion
 help / color / mirror / code / Atom feed
60ca4659cd4d3fa3bcc3949ff01d7f183bd1ab6e blob 696 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021-2022 Alyssa Ross <hi@alyssa.is>

{ config ? import ../../nix/eval-config.nix {}
, run ? ../../vm/app/catgirl.nix
}:

with config.pkgs;

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

{
  nativeBuildInputs = nativeBuildInputs ++ [
    # Both QEMU and virtiofsd come with a virtiofsd executable,
    # so we have to list virtiofsd first.
    virtiofsd

    cloud-hypervisor execline jq qemu_kvm reuse s6
  ];

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

  runDef = import run { inherit config; };
  shellHook = ''
    export RUN_IMG="$(printf "%s\n" "$runDef"/blk/run.img)"
  '';
})
debug log:

solving 60ca465 ...
found 60ca465 in https://spectrum-os.org/lists/archives/spectrum-devel/20221010232909.1953738-7-hi@alyssa.is/
found 83dcd76 in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 83dcd768e70d4663662a844f06296ba6e355f5d8	img/app/shell.nix

applying [1/1] https://spectrum-os.org/lists/archives/spectrum-devel/20221010232909.1953738-7-hi@alyssa.is/
diff --git a/img/app/shell.nix b/img/app/shell.nix
index 83dcd76..60ca465 100644

Checking patch img/app/shell.nix...
Applied patch img/app/shell.nix cleanly.

index at:
100644 60ca4659cd4d3fa3bcc3949ff01d7f183bd1ab6e	img/app/shell.nix

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).