summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 3f1bf6e62..464856a4a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -48,8 +48,15 @@
pkgs.prettier
pkgs.python3
pkgs.shfmt
+ pkgs.vulkan-loader # Ensure this gets built to use in library path.
pkgs.xorg.libX11
];
+ LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
+ # In addition to this, running the Vulkan tests on Linux distros
+ # other than NixOS may require the use of nixGL:
+ # https://github.com/nix-community/nixGL
+ pkgs.vulkan-loader
+ ];
};
}
);