mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
9 lines
336 B
Nix
9 lines
336 B
Nix
final: prev: {
|
|
rustfmt = prev.rustfmt.overrideAttrs ({ patches ? [ ], ... }: {
|
|
patches = patches ++ [
|
|
# Adds an option variant that merges all use statements into a single block.
|
|
# Taken from https://github.com/rust-lang/rustfmt/pull/4680
|
|
./Implement-One-option-for-imports_granularity-4669.patch
|
|
];
|
|
});
|
|
}
|