about summary refs log tree commit diff
path: root/pkgs/aszlig/rustfmt/config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/aszlig/rustfmt/config.patch')
-rw-r--r--pkgs/aszlig/rustfmt/config.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/aszlig/rustfmt/config.patch b/pkgs/aszlig/rustfmt/config.patch
new file mode 100644
index 00000000..0a49a585
--- /dev/null
+++ b/pkgs/aszlig/rustfmt/config.patch
@@ -0,0 +1,13 @@
+diff --git a/src/config/mod.rs b/src/config/mod.rs
+index cd90e090..a6db6da1 100644
+--- a/src/config/mod.rs
++++ b/src/config/mod.rs
+@@ -282,7 +282,7 @@ impl Config {
+                 }
+             }
+ 
+-            Ok(None)
++            Ok(Some(env!("DEFAULT_CONFIG_FILE").into()))
+         }
+ 
+         match resolve_project_file(dir)? {