babeld: enable on darwin (#474972)

This commit is contained in:
Aleksana
2025-12-29 10:56:13 +00:00
committed by GitHub
+6 -1
View File
@@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
hash = "sha256-FfJNJtoMz8Bzq83vAwnygeRoTyqnESb4JlcsTIRejdk=";
};
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace Makefile \
--replace-fail "-lrt" ""
'';
outputs = [
"out"
"man"
@@ -30,7 +35,7 @@ stdenv.mkDerivation rec {
homepage = "http://www.irif.fr/~jch/software/babel/";
description = "Loop-avoiding distance-vector routing protocol";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
mainProgram = "babeld";
};
}