mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
mesa: make sure $drivers output gets created
Not all installs will have a $drivers output, so we just create an empty one here.
This commit is contained in:
parent
9618abe87c
commit
d9707792b5
@ -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…
Reference in New Issue
Block a user