nvtop: remove with statements

This commit is contained in:
Philip Taron 2024-08-16 14:19:09 -07:00
parent 3fb954dd4f
commit f1ab9757fd
No known key found for this signature in database

View File

@ -53,9 +53,9 @@ stdenv.mkDerivation (finalAttrs: {
];
nativeBuildInputs = [ cmake gtest ] ++ lib.optional nvidia addDriverRunpath;
buildInputs = with lib; [ ncurses udev ]
++ optional nvidia cudatoolkit
++ optional needDrm libdrm
buildInputs = [ ncurses udev ]
++ lib.optional nvidia cudatoolkit
++ lib.optional needDrm libdrm
;
# this helps cmake to find <drm.h>