patches and low-level development discussion
 help / color / mirror / code / Atom feed
601b6389f7433550e8488d7adb84321a6a26c74b blob 790 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
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021-2022 Alyssa Ross <hi@alyssa.is>

{ config ? import ../../../nix/eval-config.nix {} }:

import ../make-vm.nix { inherit config; } {
  providers.net = [ "netvm" ];
  run = config.pkgs.callPackage (
    { writeScript, waypipe, havoc, foot, hello-wayland, socat}:
    writeScript "run-waypipe-app" ''
      #!/bin/sh
      mkdir /run/0
      export XDG_RUNTIME_DIR=/run/0
      ${socat}/bin/socat  unix-listen:/run/waypipe.sock,reuseaddr,fork vsock-connect:2:5000 &
      sleep 1
      ${waypipe}/bin/waypipe --display wayland-local --socket /run/waypipe.sock server -- sleep inf &
      export WAYLAND_DISPLAY=wayland-local
      ${havoc}/bin/havoc
      ${hello-wayland}/bin/hello-wayland
      ${foot}/bin/foot
    ''
  ) { };
}
debug log:

solving 601b638 ...
found 601b638 in https://spectrum-os.org/lists/archives/spectrum-devel/20221130071306.1364939-1-vadim.likholetov@unikie.com/ ||
	https://spectrum-os.org/lists/archives/spectrum-devel/20221204224506.1801177-1-vadim.likholetov@unikie.com/ ||
	https://spectrum-os.org/lists/archives/spectrum-devel/20221129225825.1361947-1-vadim.likholetov@unikie.com/

applying [1/3] https://spectrum-os.org/lists/archives/spectrum-devel/20221130071306.1364939-1-vadim.likholetov@unikie.com/
diff --git a/vm/app/hello-waypipe.nix b/vm/app/hello-waypipe.nix
new file mode 100644
index 0000000..601b638

Checking patch vm/app/hello-waypipe.nix...
Applied patch vm/app/hello-waypipe.nix cleanly.

skipping https://spectrum-os.org/lists/archives/spectrum-devel/20221204224506.1801177-1-vadim.likholetov@unikie.com/ for 601b638
skipping https://spectrum-os.org/lists/archives/spectrum-devel/20221129225825.1361947-1-vadim.likholetov@unikie.com/ for 601b638
index at:
100644 601b6389f7433550e8488d7adb84321a6a26c74b	vm/app/hello-waypipe.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).