about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-06-26 00:18:55 +0200
committerGitHub <noreply@github.com>2024-06-26 00:18:55 +0200
commit02941d52183731c9ca1852a2661ee17b6bc241bc (patch)
treec8d1a77e9416a6590fa65d010b3bb8788a705e05 /pkgs/applications
parent6155ccc546bc1b2632e0d282589353c930f62de8 (diff)
parent31333ac176d3b2160cb554f6892fea03b2d868fc (diff)
Merge pull request #322343 from eclairevoyant/ares-vulkan
ares: fix missing vulkan
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/emulators/bsnes/ares/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/bsnes/ares/default.nix b/pkgs/applications/emulators/bsnes/ares/default.nix
index ade90d3885676..f7fd332c7a336 100644
--- a/pkgs/applications/emulators/bsnes/ares/default.nix
+++ b/pkgs/applications/emulators/bsnes/ares/default.nix
@@ -18,6 +18,8 @@
 , which
 , wrapGAppsHook3
 , darwin
+, vulkan-loader
+, autoPatchelfHook
 }:
 
 stdenv.mkDerivation (finalAttrs: {
@@ -38,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
   ];
 
   nativeBuildInputs = [
+    autoPatchelfHook
     pkg-config
     which
     wrapGAppsHook3
@@ -64,6 +67,8 @@ stdenv.mkDerivation (finalAttrs: {
     darwin.apple_sdk_11_0.frameworks.OpenAL
   ];
 
+  appendRunpaths = [ (lib.makeLibraryPath [ vulkan-loader ]) ];
+
   enableParallelBuilding = true;
 
   makeFlags = lib.optionals stdenv.isLinux [