Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: numtide/blueprint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4d3e27b77a64e82cffa76830bdfdf117f17ca021
Choose a base ref
..
head repository: numtide/blueprint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3017cc9d8c30949f3b2beae2ac41b27b7bf05a2d
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +1 −1 formatter.nix
  2. +1 −1 lib/default.nix
2 changes: 1 addition & 1 deletion formatter.nix
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ let
deadnix --no-lambda-pattern-names --edit "$@"
# Use git to traverse since nixfmt doesn't have good traversal
git ls-files "$@" | grep '\.nix$' | xargs -d$'\n' --no-run-if-empty nixfmt
git ls-files -z "$@" | grep --null '\.nix$' | xargs --null --no-run-if-empty nixfmt
'';

meta = {
2 changes: 1 addition & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
@@ -467,7 +467,7 @@ let
fi
# Use git to traverse since nixfmt doesn't have good traversal
git ls-files "$@" | grep '\.nix$' | xargs -d$'\n' --no-run-if-empty nixfmt
git ls-files -z "$@" | grep --null '\.nix$' | xargs --null --no-run-if-empty nixfmt
'';
})
);