mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-23 14:55:48 +03:00
48aa77a2fa
These need to be run through the top-level nix-shell/shell.nix
13 lines
152 B
Bash
Executable File
13 lines
152 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Usage: fmt-nix
|
|
|
|
set -euo pipefail
|
|
|
|
cd "${0%/*}/.."
|
|
|
|
echo "Formatting Nix"
|
|
|
|
find . -type f -name '*.nix' \
|
|
-exec nixfmt {} \+
|