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

import ../../lib/eval-config.nix ({ config, ... }:

import ../make-vm.nix { inherit config; } {
  wayland = true;
  run = config.pkgs.pkgsStatic.callPackage (
    { writeScript, hello-wayland }:
    writeScript "run-hello-wayland" ''
      #!/bin/execlineb -P
      foreground { ln -ns /run/ext /run/opengl-driver }
      foreground { mkdir /run/user }
      foreground {
        umask 077
        mkdir /run/user/0
      }
      if { /etc/mdev/wait card0 }
      export XDG_RUNTIME_DIR /run/user/0

      # No pkgsStatic.wayland-proxy-virtwl:
      # https://github.com/nix-ocaml/nix-overlays/issues/698
      ${config.pkgs.pkgsMusl.wayland-proxy-virtwl}/bin/wayland-proxy-virtwl --virtio-gpu

      ${hello-wayland}/bin/hello-wayland
    ''
  ) { };
})
debug log:

solving e10f05e ...
found e10f05e in https://spectrum-os.org/git/spectrum

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).