diff --git a/pkgs/by-name/xf/xfr/package.nix b/pkgs/by-name/xf/xfr/package.nix index c422347b3efa..f8f527b9ba05 100644 --- a/pkgs/by-name/xf/xfr/package.nix +++ b/pkgs/by-name/xf/xfr/package.nix @@ -24,8 +24,16 @@ rustPlatform.buildRustPackage (finalAttrs: { installShellFiles versionCheckHook ]; + doInstallCheck = true; + # opt ouf of default features to deselect the update-check feature + buildNoDefaultFeatures = true; + + buildFeatures = [ + "discovery" + ]; + postInstall = '' installShellCompletion --cmd xfr \ --bash <($out/bin/xfr --completions bash) \