patches and low-level development discussion
 help / color / mirror / code / Atom feed
d6b627cc1fab01022dafd96bcb227da233c336ed blob 576 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
 
# 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 ++ [
    cloud-hypervisor jq qemu_kvm reuse
  ];

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

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

solving d6b627c ...
found d6b627c in https://spectrum-os.org/lists/archives/spectrum-devel/20220919073659.1703271-7-hi@alyssa.is/
found 852b246 in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 852b2461f154d329e45bc5c87e494b505187f68d	vm/app/lynx/shell.nix

applying [1/1] https://spectrum-os.org/lists/archives/spectrum-devel/20220919073659.1703271-7-hi@alyssa.is/
diff --git a/vm/app/lynx/shell.nix b/img/app/shell.nix
similarity index 50%
rename from vm/app/lynx/shell.nix
rename to img/app/shell.nix
index 852b246..d6b627c 100644

Checking patch vm/app/lynx/shell.nix => img/app/shell.nix...
Applied patch vm/app/lynx/shell.nix => img/app/shell.nix cleanly.

index at:
100644 d6b627cc1fab01022dafd96bcb227da233c336ed	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).