File: reformat.sh

package info (click to toggle)
python-cfg-diag 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 156 kB
  • sloc: python: 211; sh: 4; makefile: 3
file content (7 lines) | stat: -rwxr-xr-x 164 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh

set -e

script_path="$(readlink -f -- "$0")"
nix_dir="$(dirname -- "$script_path")"
nix-shell --pure -p nixpkgs-fmt --run "nixpkgs-fmt '$nix_dir'/*.nix"