diff --git a/overlay.nix b/overlay.nix index ace3c8f..80dd3a5 100644 --- a/overlay.nix +++ b/overlay.nix @@ -207,8 +207,8 @@ extraPkgs // { ${(old.postInstall or "")} non_necessary_binaries=("tc" "rdma" "dcb" "tipc" "vdpa") for needless_binary in "''${non_necessary_binaries[@]}"; do - echo "Removing unnecessary binary $out/$needless_binary" - rm "$out/$needless_binary" + echo "Removing unnecessary binary $out/bin/$needless_binary" + rm "$out/bin/$needless_binary" done ''; });