Avoid double-negative
buildInputs =
[ rust ]
++ missingSysPkgs
- ++ (if !isDevShell then [ cargoHome ] else [ pkgs.rust-analyzer ]);
+ ++ (if isDevShell then [ pkgs.rust-analyzer ] else [ cargoHome ]);
src = if isDevShell then null else self;
