gping: fix ipv6 use
adds a patch to use ping -6 instead of ping6
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
installShellFiles,
|
||||
iputils,
|
||||
versionCheckHook,
|
||||
@@ -22,6 +23,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
cargoHash = "sha256-F0QBL7tCCdjnavClqrw8yYxFrY8y4f8h/gcHSpEqBiM=";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-ipv6-addrs-by-using-ping-dash-6.patch";
|
||||
# https://github.com/orf/gping/pull/546
|
||||
url = "https://github.com/orf/gping/commit/7ef8e1ddec847681c5ef3d4a010a0ad3a7aebab0.patch";
|
||||
hash = "sha256-b3Nv+mobPUcgREaNvn7cXra24PgEUe60yE/kOPTQEos=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
nativeCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [ iputils ];
|
||||
|
||||
Reference in New Issue
Block a user