libdrm: use lib.availableOn instead of lib.meta.available
pkg.meta.available is deprecated (see subsequent commit which adds a warning) and does not distinguish between the buildPlatform and the hostPlatform.
This commit is contained in:
parent
5faab29808
commit
eb6b7c353c
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, lib, fetchurl, pkg-config, meson, ninja, docutils
|
||||
, libpthreadstubs, libpciaccess
|
||||
, withValgrind ? valgrind-light.meta.available, valgrind-light
|
||||
, withValgrind ? lib.meta.availableOn stdenv.hostPlatform valgrind-light, valgrind-light
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
|
Loading…
Reference in a new issue