Merge pull request #312599 from lelgenio/stress-ng-gpu

stress-ng: add missing dependencies for --gpu flag support
This commit is contained in:
kirillrdy 2024-06-04 19:09:16 +10:00 committed by GitHub
commit 2b705743d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
{ lib, stdenv, fetchFromGitHub
, attr, judy, keyutils, libaio, libapparmor, libbsd, libcap, libgcrypt, lksctp-tools, zlib
, libglvnd, mesa
}:
stdenv.mkDerivation rec {
@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
# All platforms inputs then Linux-only ones
buildInputs = [ judy libbsd libgcrypt zlib ]
++ lib.optionals stdenv.hostPlatform.isLinux [
attr keyutils libaio libapparmor libcap lksctp-tools
attr keyutils libaio libapparmor libcap lksctp-tools libglvnd mesa
];
makeFlags = [