xhyve: drop

It only supported x86_64-darwin, which is no longer supported in 26.11.
This commit is contained in:
Ihar Hrachyshka
2026-10-26 20:12:53 -04:00
parent 651ebd75e2
commit ad4ea73728
2 changed files with 1 additions and 48 deletions

View File

@@ -1,48 +0,0 @@
{
stdenv,
lib,
fetchFromGitHub,
zlib,
}:
stdenv.mkDerivation rec {
pname = "xhyve";
version = "20210203";
src = fetchFromGitHub {
owner = "machyve";
repo = "xhyve";
rev = "83516a009c692ea5d2993d1071e68d05d359b11e";
sha256 = "1pjdg4ppy6qh3vr1ls5zyw3jzcvwny9wydnmfpadwij1hvns7lj3";
};
buildInputs = [
zlib
];
# Don't use git to determine version
prePatch = ''
substituteInPlace Makefile \
--replace 'shell git describe --abbrev=6 --dirty --always --tags' "$version"
'';
makeFlags = [
"CFLAGS+=-Wno-shift-sign-overflow"
''CFLAGS+=-DVERSION=\"${version}\"''
];
installPhase = ''
mkdir -p $out/bin
cp build/xhyve $out/bin
'';
meta = {
description = "Lightweight Virtualization on macOS Based on bhyve";
homepage = "https://github.com/mist64/xhyve";
maintainers = [ ];
license = lib.licenses.bsd2;
platforms = lib.platforms.darwin;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
};
}

View File

@@ -2972,6 +2972,7 @@ mapAliases {
xflux = throw "'xflux' has been removed as it was unmaintained"; # Added 2025-08-22
xflux-gui = throw "'xflux-gui' has been removed as it was unmaintained"; # Added 2025-08-22
xhtml1 = throw "'xhtml1' has been removed because it was superseded in 2018"; # Added 2026-07-24
xhyve = throw "'xhyve' has been removed because x86_64-darwin is no longer supported"; # Added 2026-10-26
xinput_calibrator = xinput-calibrator; # Added 2025-08-28
xjump = throw "'xjump' has been removed as it is unmaintained"; # Added 2025-08-22
xkeyboardconfig = xkeyboard-config; # Added 2026-02-04