This was discussed in https://github.com/NixOS/nix/issues/8034. I personally like `PRJ_ROOT`, which hopefully avoids some ambiguity around with subflakes. I only implemented this for `nix fmt` because it doesn't let you point at a flake not on your filesystem. macOS compilation fixes
3 lines
71 B
Bash
Executable File
3 lines
71 B
Bash
Executable File
#!/usr/bin/env bash
|
|
echo "PRJ_ROOT=$PRJ_ROOT Formatting(${#}):" "${@}"
|