about summary refs log tree commit diff
path: root/pkgs/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-08-23 13:04:39 +0200
committeraszlig <aszlig@nix.build>2022-08-23 13:35:34 +0200
commit14b739010a614507c5c460df4e32b917a0e94559 (patch)
tree941712ed5efa9665783b669e6660ed052ec714d8 /pkgs/aszlig
parent5883388b0c9bec20a91ff8abac51ebe9a638902b (diff)
pkgs/rustfmt: Use Nightly version
The config we're baking in by default relies on Nightly features, so it
only makes sense to actually use a rustfmt version that supports it.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/aszlig')
-rw-r--r--pkgs/aszlig/rustfmt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/aszlig/rustfmt/default.nix b/pkgs/aszlig/rustfmt/default.nix
index ab8ecb41..9ec78bf9 100644
--- a/pkgs/aszlig/rustfmt/default.nix
+++ b/pkgs/aszlig/rustfmt/default.nix
@@ -18,7 +18,7 @@ let
     wrap_comments = true;
   };
 
-in rustfmt.overrideAttrs (drv: {
+in (rustfmt.override { asNightly = true; }).overrideAttrs (drv: {
   patches = (drv.patches or []) ++ [ ./config.patch ];
   DEFAULT_CONFIG_FILE = runCommand "rustfmt.conf" {
     nativeBuildInputs = [ remarshal ];