Pinetab-v: rope in config
This commit is contained in:
7
machines/ptv/pkgs-cross/vulkan-tools/default.nix
Normal file
7
machines/ptv/pkgs-cross/vulkan-tools/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
final: prev: prev.vulkan-tools.overrideAttrs (old: {
|
||||
cmakeFlags = old.cmakeFlags ++ (prev.lib.optionals (prev.stdenv.hostPlatform != prev.stdenv.buildPlatform) [
|
||||
"-DBUILD_CUBE=OFF"
|
||||
"-DPKG_CONFIG_EXECUTABLE=${prev.buildPackages.pkg-config}/bin/riscv64-unknown-linux-gnu-pkg-config"
|
||||
]);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user