Loading pkgs/development/rocm-modules/amdsmi/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ cmake, pkg-config, libdrm, python, wrapPython, autoPatchelfHook, }: Loading Loading @@ -67,6 +68,9 @@ stdenv.mkDerivation (finalAttrs: { ]; postInstall = '' mkdir -p $out/${python.sitePackages} ln -s $out/share/amd_smi/amdsmi $out/${python.sitePackages}/amdsmi makeWrapperArgs=(--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libdrm ]}) wrapPythonProgramsIn $out rm $out/bin/amd-smi Loading pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -694,6 +694,12 @@ self: super: with self; { amcrest = callPackage ../development/python-modules/amcrest { }; amdsmi = toPythonModule ( pkgs.rocmPackages.amdsmi.override { inherit python; } ); ament-package = callPackage ../development/python-modules/ament-package { }; amply = callPackage ../development/python-modules/amply { }; Loading Loading
pkgs/development/rocm-modules/amdsmi/default.nix +4 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ cmake, pkg-config, libdrm, python, wrapPython, autoPatchelfHook, }: Loading Loading @@ -67,6 +68,9 @@ stdenv.mkDerivation (finalAttrs: { ]; postInstall = '' mkdir -p $out/${python.sitePackages} ln -s $out/share/amd_smi/amdsmi $out/${python.sitePackages}/amdsmi makeWrapperArgs=(--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libdrm ]}) wrapPythonProgramsIn $out rm $out/bin/amd-smi Loading
pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -694,6 +694,12 @@ self: super: with self; { amcrest = callPackage ../development/python-modules/amcrest { }; amdsmi = toPythonModule ( pkgs.rocmPackages.amdsmi.override { inherit python; } ); ament-package = callPackage ../development/python-modules/ament-package { }; amply = callPackage ../development/python-modules/amply { }; Loading