mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
mesa: Don't error: attribute 'driversdev' missing
`legacyPackages.aarch64-darwin.pkgsCross.aarch64-multiplatform.mesa.nativeBuildInputs` Missing attribute errors can't be caught
This commit is contained in:
parent
3876b1b05b
commit
cc705b79cb
@ -289,11 +289,12 @@ in stdenv.mkDerivation {
|
||||
rustPlatform.bindgenHook
|
||||
wayland-scanner
|
||||
] ++ lib.optionals needNativeCLC [
|
||||
buildPackages.mesa.driversdev
|
||||
# `or null` to not break eval with `attribute missing` on darwin to linux cross
|
||||
(buildPackages.mesa.driversdev or null)
|
||||
];
|
||||
|
||||
disallowedRequisites = lib.optionals needNativeCLC [
|
||||
buildPackages.mesa.driversdev
|
||||
(buildPackages.mesa.driversdev or null)
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ libdrm ];
|
||||
|
Loading…
Reference in New Issue
Block a user