trippy: avoid building example binaries
Disable the default behavior of building example binaries "hello-world" and "traceroute". The latter is particularly problematic as it conflicts with the system's traceroute binary. Related: https://github.com/fujiapple852/trippy/pull/1503
This commit is contained in:
@@ -21,6 +21,8 @@ rustPlatform.buildRustPackage rec {
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-+PaSLq++tKA6dy4CI1EYrEDdXi2TI9XHjvMLfwDp/HA=";
|
||||
|
||||
cargoBuildFlags = [ "--package trippy" ];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
local INSTALL="$out/bin/trip"
|
||||
installShellCompletion --cmd trip \
|
||||
|
||||
Reference in New Issue
Block a user