mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 04:27:45 +00:00
feat: trim end of whitespace lines
This commit is contained in:
parent
c671ef15fc
commit
b6679fa6e3
4 changed files with 21 additions and 21 deletions
14
flake.nix
14
flake.nix
|
@ -46,7 +46,7 @@
|
|||
packages = [ nixpkgs.cargo-tarpaulin nixpkgs.rustup ];
|
||||
shellHook =
|
||||
''
|
||||
rustup toolchain install nightly
|
||||
rustup toolchain install nightly
|
||||
'';
|
||||
};
|
||||
packages = {
|
||||
|
@ -58,15 +58,15 @@
|
|||
builtins.toFile
|
||||
"builder.sh"
|
||||
''
|
||||
source $stdenv/setup
|
||||
source $stdenv/setup
|
||||
|
||||
cp -rT $nixpkgs $out
|
||||
chmod -R +w $out
|
||||
cp -rT $nixpkgs $out
|
||||
chmod -R +w $out
|
||||
|
||||
alejandra $out
|
||||
alejandra $out
|
||||
|
||||
git diff --no-index $nixpkgs $out > $diff || true
|
||||
'';
|
||||
git diff --no-index $nixpkgs $out > $diff || true
|
||||
'';
|
||||
buildInputs = [ inputs.self.defaultPackage.${ system } nixpkgs.git ];
|
||||
nixpkgs = inputs.nixpkgs.sourceInfo.outPath;
|
||||
NIX_BUILD_CORES = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue