patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob bd626ad2324b1e0fd5adf9e63ebfb18dd8c1e386 341 bytes (raw)
name: release/checks/shfmt.nix 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2025 Alyssa Ross <hi@alyssa.is>

import ../../lib/call-package.nix ({ src, lib, runCommand, shfmt }:

runCommand "spectrum-shfmt" {
  src = lib.fileset.toSource {
    root = ../..;
    fileset = src;
  };
  nativeBuildInputs = [ shfmt ];
} ''
  shfmt -d $src
  touch $out
'') (_: {})

debug log:

solving bd626ad ...
found bd626ad in https://inbox.spectrum-os.org/spectrum-devel/20251001102838.7086-3-hi@alyssa.is/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20251001102838.7086-3-hi@alyssa.is/
diff --git a/release/checks/shfmt.nix b/release/checks/shfmt.nix
new file mode 100644
index 0000000..bd626ad

Checking patch release/checks/shfmt.nix...
Applied patch release/checks/shfmt.nix cleanly.

index at:
100644 bd626ad2324b1e0fd5adf9e63ebfb18dd8c1e386	release/checks/shfmt.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).