blob 3929c8fa2b3f38d6acd18c3748ed72dd4855ac4d 400 bytes (raw)
name: release/checks/whitespace.nix # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| | # SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2025 Alyssa Ross <hi@alyssa.is>
import ../../lib/call-package.nix ({ srcWithNix, lib, runCommand }:
runCommand "spectrum-whitespace" {
src = lib.fileset.toSource {
root = ../..;
fileset = srcWithNix;
};
} ''
grep --color=always --binary-files=without-match --exclude='*.patch' -r "[[:space:]]$" $src || touch $out
''
) (_: {})
|
debug log:
solving 3929c8f ...
found 3929c8f in https://inbox.spectrum-os.org/spectrum-devel/20260520222237.257773-1-valentin@gagarin.work/
found 56710b6 in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 56710b6e7060dbeda5ed2985fe7094232af5a19f release/checks/whitespace.nix
applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260520222237.257773-1-valentin@gagarin.work/
diff --git a/release/checks/whitespace.nix b/release/checks/whitespace.nix
index 56710b6..3929c8f 100644
Checking patch release/checks/whitespace.nix...
Applied patch release/checks/whitespace.nix cleanly.
index at:
100644 3929c8fa2b3f38d6acd18c3748ed72dd4855ac4d release/checks/whitespace.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/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
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).