Merge pull request #162004 from primeos/mesa

mesa: Limit the devDoesNotDependOnLLVM test to Linux
This commit is contained in:
Michael Weiss 2022-02-26 19:56:55 +01:00 committed by GitHub
commit 4b967d7feb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,12 +252,14 @@ self = stdenv.mkDerivation {
inherit (libglvnd) driverLink;
inherit llvmPackages;
tests.devDoesNotDependOnLLVM = stdenv.mkDerivation {
name = "mesa-dev-does-not-depend-on-llvm";
buildCommand = ''
echo ${self.dev} >>$out
'';
disallowedRequisites = [ llvmPackages.llvm self.drivers ];
tests = lib.optionalAttrs stdenv.isLinux {
devDoesNotDependOnLLVM = stdenv.mkDerivation {
name = "mesa-dev-does-not-depend-on-llvm";
buildCommand = ''
echo ${self.dev} >>$out
'';
disallowedRequisites = [ llvmPackages.llvm self.drivers ];
};
};
};