From b69ca0525f5eeeb9fefb010d4ac6c15919054111 Mon Sep 17 00:00:00 2001
From: Gabriel de Perthuis <g2p.code@gmail.com>
Date: Sat, 22 Mar 2025 23:54:52 +0000
Subject: [PATCH] nix flake: Drop --all-features from cargo commands

fuse is now enabled purely through a feature, build.rs
doesn't look at BCACHEFS_FUSE in the environment.

However, fuse libraries aren't installed by nix in the
current context of check commands, so run the checks without fuse.

Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>
---
 flake.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flake.nix b/flake.nix
index 661e8407..62ff2989 100644
--- a/flake.nix
+++ b/flake.nix
@@ -231,7 +231,7 @@
             common.args
             // {
               inherit (common) cargoArtifacts;
-              cargoClippyExtraArgs = "--all-targets --all-features -- --deny warnings";
+              cargoClippyExtraArgs = "--all-targets -- --deny warnings";
             }
           );
 
@@ -265,7 +265,7 @@
               // {
                 pname = "msrv";
                 inherit (common) cargoArtifacts;
-                cargoClippyExtraArgs = "--all-targets --all-features -- --deny warnings";
+                cargoClippyExtraArgs = "--all-targets -- --deny warnings";
               }
             );