libnvidia-container: depend on elfutils instead of unmaintained libelf

Also, make the entries in `pkgs/top-level/all-packages.nix` more regular.
This commit is contained in:
Philip Taron 2023-12-01 14:52:21 -08:00
parent 80e5019b1d
commit 251e2ecf86
No known key found for this signature in database
2 changed files with 5 additions and 4 deletions

View file

@ -3,7 +3,7 @@
, addOpenGLRunpath
, fetchFromGitHub
, pkg-config
, libelf
, elfutils
, libcap
, libseccomp
, rpcsvc-proto
@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config go rpcsvc-proto makeWrapper removeReferencesTo ];
buildInputs = [ libelf libcap libseccomp libtirpc ];
buildInputs = [ elfutils libcap libseccomp libtirpc ];
makeFlags = [
"WITH_LIBELF=yes"

View file

@ -5907,6 +5907,8 @@ with pkgs;
libnvme = callPackage ../os-specific/linux/libnvme { };
libnvidia-container = callPackage ../applications/virtualization/libnvidia-container { };
librenms = callPackage ../servers/monitoring/librenms { };
libxnd = callPackage ../development/libraries/libxnd { };
@ -24227,9 +24229,8 @@ with pkgs;
mkNvidiaContainerPkg = { name, containerRuntimePath, configTemplate, additionalPaths ? [] }:
let
nvidia-container-toolkit = callPackage ../applications/virtualization/nvidia-container-toolkit {
inherit containerRuntimePath configTemplate libnvidia-container;
inherit containerRuntimePath configTemplate;
};
libnvidia-container =(callPackage ../applications/virtualization/libnvidia-container { });
in symlinkJoin {
inherit name;
paths = [