blob: cf4273bf8680184b2a2fe181a72f5fa356fb1926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# SPDX-FileCopyrightText: V <v@unfathomable.blue>
# SPDX-License-Identifier: OSL-3.0
let sources = import ./sources.nix {};
in import sources.nixpkgs {
overlays = [
(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
];
});
})
];
}
|