blob 3a1ef481e16d5327de9441ebfe74f12a44e8b10f 713 bytes (raw)
name: vm/app/catgirl.nix # note: path name is non-authoritative(*)
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
| | # 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-as-user = config.pkgs.pkgsStatic.callPackage (
{ writeScript, catgirl }:
writeScript "run-catgirl" ''
#!/bin/execlineb -P
foreground { printf "IRC nick (to join #spectrum): " }
backtick -E nick { head -1 }
${catgirl}/bin/catgirl -h irc.libera.chat -j "#spectrum" -n $nick
''
) { };
run = config.pkgs.pkgsStatic.callPackage (
{ writeScript }:
writeScript "run-as-root" ''
#!/bin/execlineb -P
/bin/true
''
) { };
}
|
debug log:
solving 3a1ef48 ...
found 3a1ef48 in https://inbox.spectrum-os.org/spectrum-devel/20221204224506.1801177-2-vadim.likholetov@unikie.com/
found a4c05e3 in https://inbox.spectrum-os.org/spectrum-devel/20221010232909.1953738-30-hi@alyssa.is/ ||
https://inbox.spectrum-os.org/spectrum-devel/20221009114036.463071-7-hi@alyssa.is/
applying [1/2] https://inbox.spectrum-os.org/spectrum-devel/20221010232909.1953738-30-hi@alyssa.is/
diff --git a/vm/app/catgirl.nix b/vm/app/catgirl.nix
new file mode 100644
index 0000000..a4c05e3
Checking patch vm/app/catgirl.nix...
Applied patch vm/app/catgirl.nix cleanly.
skipping https://inbox.spectrum-os.org/spectrum-devel/20221009114036.463071-7-hi@alyssa.is/ for a4c05e3
index at:
100644 a4c05e39d6de764feed6c224b16916e3c1fdf8be vm/app/catgirl.nix
applying [2/2] https://inbox.spectrum-os.org/spectrum-devel/20221204224506.1801177-2-vadim.likholetov@unikie.com/
diff --git a/vm/app/catgirl.nix b/vm/app/catgirl.nix
index a4c05e3..3a1ef48 100644
1:10: trailing whitespace.
Checking patch vm/app/catgirl.nix...
Applied patch vm/app/catgirl.nix cleanly.
warning: 1 line adds whitespace errors.
index at:
100644 3a1ef481e16d5327de9441ebfe74f12a44e8b10f vm/app/catgirl.nix
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
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).