treewide: purge remaining calls to xen-slim
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
parent
251dc99c70
commit
1610ee03f1
@ -19,7 +19,7 @@
|
|||||||
libkvmi,
|
libkvmi,
|
||||||
|
|
||||||
xenSupport ? true,
|
xenSupport ? true,
|
||||||
xen-slim,
|
xen,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -58,7 +58,7 @@ stdenv.mkDerivation {
|
|||||||
json_c
|
json_c
|
||||||
libvirt
|
libvirt
|
||||||
]
|
]
|
||||||
++ lib.optionals xenSupport [ xen-slim ]
|
++ lib.optionals xenSupport [ xen ]
|
||||||
++ lib.optionals (!legacyKVM) [ libkvmi ]
|
++ lib.optionals (!legacyKVM) [ libkvmi ]
|
||||||
++ lib.optionals withVMIFS [ fuse ];
|
++ lib.optionals withVMIFS [ fuse ];
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ stdenv.mkDerivation {
|
|||||||
postFixup = lib.optionalString xenSupport ''
|
postFixup = lib.optionalString xenSupport ''
|
||||||
libvmi="$lib/lib/libvmi.so.${libVersion}"
|
libvmi="$lib/lib/libvmi.so.${libVersion}"
|
||||||
oldrpath=$(patchelf --print-rpath "$libvmi")
|
oldrpath=$(patchelf --print-rpath "$libvmi")
|
||||||
patchelf --set-rpath "$oldrpath:${lib.makeLibraryPath [ xen-slim ]}" "$libvmi"
|
patchelf --set-rpath "$oldrpath:${lib.makeLibraryPath [ xen ]}" "$libvmi"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
rustPlatform,
|
rustPlatform,
|
||||||
llvmPackages,
|
llvmPackages,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
xen-slim,
|
xen,
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "xen-guest-agent";
|
pname = "xen-guest-agent";
|
||||||
@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ xen-slim ];
|
buildInputs = [ xen ];
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
# Install the sample systemd service.
|
# Install the sample systemd service.
|
||||||
@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
postFixup =
|
postFixup =
|
||||||
# Add the Xen libraries in the runpath so the guest agent can find libxenstore.
|
# Add the Xen libraries in the runpath so the guest agent can find libxenstore.
|
||||||
"patchelf $out/bin/xen-guest-agent --add-rpath ${xen-slim.out}/lib";
|
"patchelf $out/bin/xen-guest-agent --add-rpath ${xen}/lib";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Xen agent running in Linux/BSDs (POSIX) VMs";
|
description = "Xen agent running in Linux/BSDs (POSIX) VMs";
|
||||||
|
@ -17590,7 +17590,7 @@ self: super: with self; {
|
|||||||
inherit (pkgs) graphviz;
|
inherit (pkgs) graphviz;
|
||||||
};
|
};
|
||||||
|
|
||||||
xen = toPythonModule (pkgs.xen-slim.override {
|
xen = toPythonModule (pkgs.xen.override {
|
||||||
python3Packages = self;
|
python3Packages = self;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user