mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
af205ce47a
In function 'libvchan__check_domain_alive': error: unknown type name 'xc_dominfo_t'; did you mean 'xc_meminfo_t'? error: implicit declaration of function 'xc_domain_getinfo'; did you mean 'xc_domain_getvnuma'? [-Werror=implicit-function-declaration] error: request for member 'domid' in something not a structure or union error: request for member 'dying' in something not a structure or union Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net> Reviewed-by: Joachim Ernst <mail-maintainer@0x4A6F.dev>
36 lines
740 B
Nix
36 lines
740 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, xen
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qubes-core-vchan-xen";
|
|
version = "4.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "QubesOS";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256:02l1vs5c2jfw22gxvl2fb66m0d99n8ya1i7rphsb5cxsljvxary0";
|
|
};
|
|
|
|
buildInputs = [ xen ];
|
|
|
|
buildPhase = ''
|
|
make all PREFIX=/ LIBDIR="$out/lib" INCLUDEDIR="$out/include"
|
|
'';
|
|
|
|
installPhase = ''
|
|
make install DESTDIR=$out PREFIX=/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Libraries required for the higher-level Qubes daemons and tools";
|
|
homepage = "https://qubes-os.org";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
broken = true;
|
|
};
|
|
|
|
}
|