Skip to content

Commit

Permalink
treewide: purge remaining calls to xen-slim
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Rodrigues <[email protected]>
  • Loading branch information
SigmaSquadron committed Oct 5, 2024
1 parent c6c10ee commit 600834e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions pkgs/by-name/li/libvmi/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
libkvmi,

xenSupport ? true,
xen-slim,
xen,
}:

let
Expand Down Expand Up @@ -58,7 +58,7 @@ stdenv.mkDerivation {
json_c
libvirt
]
++ lib.optionals xenSupport [ xen-slim ]
++ lib.optionals xenSupport [ xen ]
++ lib.optionals (!legacyKVM) [ libkvmi ]
++ lib.optionals withVMIFS [ fuse ];

Expand All @@ -71,7 +71,7 @@ stdenv.mkDerivation {
postFixup = lib.optionalString xenSupport ''
libvmi="$lib/lib/libvmi.so.${libVersion}"
oldrpath=$(patchelf --print-rpath "$libvmi")
patchelf --set-rpath "$oldrpath:${lib.makeLibraryPath [ xen-slim ]}" "$libvmi"
patchelf --set-rpath "$oldrpath:${lib.makeLibraryPath [ xen ]}" "$libvmi"
'';

passthru = {
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/xe/xen-guest-agent/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
rustPlatform,
llvmPackages,
pkg-config,
xen-slim,
xen,
}:
rustPlatform.buildRustPackage rec {
pname = "xen-guest-agent";
Expand All @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
pkg-config
];

buildInputs = [ xen-slim ];
buildInputs = [ xen ];

postInstall =
# Install the sample systemd service.
Expand All @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {

postFixup =
# 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 = {
description = "Xen agent running in Linux/BSDs (POSIX) VMs";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17582,7 +17582,7 @@ self: super: with self; {
inherit (pkgs) graphviz;
};

xen = toPythonModule (pkgs.xen-slim.override {
xen = toPythonModule (pkgs.xen.override {
python3Packages = self;
});

Expand Down

0 comments on commit 600834e

Please sign in to comment.