Commit 36bd42bc authored by Karl Ericsson's avatar Karl Ericsson
Browse files

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
parent e77290ae
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 \