patches and low-level development discussion
 help / color / mirror / code / Atom feed
fef4aa7a416d16dc68775666b1f9e4db05f3138d blob 993 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 
{ lib
, fetchFromGitHub
, ocamlPackages
, pkg-config
, libdrm
}:

ocamlPackages.buildDunePackage rec {
  pname = "wayland-proxy-virtwl";
  version = "unstable-2022-08-06";

  src = fetchFromGitHub {
    owner = "talex5";
    repo = pname;
    rev = "fa566c85ce7f75e98d66b9fe617dcc4d565cd48a";
    sha256 = "sha256-rU3uXV/Y98248d922JTz+F5MtOALbljW2Xl4FBXhRH4=";
  };

  postPatch = ''
    # no need to vendor
    rm -r ocaml-wayland
  '';

  useDune2 = true;
  minimumOCamlVersion = "4.08";

  strictDeps = true;
  nativeBuildInputs = [
    ocamlPackages.ppx_cstruct
    pkg-config
  ];

  buildInputs = [ libdrm ] ++ (with ocamlPackages; [
    dune-configurator
    wayland
    cmdliner
    logs
    cstruct-lwt
    ppx_cstruct
  ]);

  doCheck = true;

  meta = {
    homepage = "https://github.com/talex5/wayland-virtwl-proxy";
    description = "Proxy Wayland connections across a VM boundary";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.sternenseemann ];
  };
}
debug log:

solving fef4aa7a416 ...
found fef4aa7a416 in https://spectrum-os.org/lists/archives/spectrum-devel/20220928170128.1583791-10-alyssa.ross@unikie.com/
found 8c7708c3e3d in https://spectrum-os.org/git/nixpkgs
preparing index
index prepared:
100644 8c7708c3e3db1bfb28f2c35a58d0f01fdd3480d2	pkgs/tools/wayland/wayland-proxy-virtwl/default.nix

applying [1/1] https://spectrum-os.org/lists/archives/spectrum-devel/20220928170128.1583791-10-alyssa.ross@unikie.com/
diff --git a/pkgs/tools/wayland/wayland-proxy-virtwl/default.nix b/pkgs/tools/wayland/wayland-proxy-virtwl/default.nix
index 8c7708c3e3d..fef4aa7a416 100644

Checking patch pkgs/tools/wayland/wayland-proxy-virtwl/default.nix...
Applied patch pkgs/tools/wayland/wayland-proxy-virtwl/default.nix cleanly.

index at:
100644 fef4aa7a416d16dc68775666b1f9e4db05f3138d	pkgs/tools/wayland/wayland-proxy-virtwl/default.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).