mesa: make sure $drivers output gets created

Not all installs will have a $drivers output, so we just create an
empty one here.
wip/yesman
Matthew Bauer 5 years ago
parent 9618abe87c
commit d9707792b5
  1. 5
      pkgs/development/libraries/mesa/default.nix

@ -163,7 +163,10 @@ let self = stdenv.mkDerivation {
];
# TODO: probably not all .la files are completely fixed, but it shouldn't matter;
postInstall = optionalString (galliumDrivers != []) ''
postInstall = ''
# Some installs don't have any drivers so this directory is never created.
mkdir -p $drivers
'' + optionalString (galliumDrivers != []) ''
# move gallium-related stuff to $drivers, so $out doesn't depend on LLVM
mv -t "$drivers/lib/" \
$out/lib/libXvMC* \

Loading…
Cancel
Save