Unnamed repository; edit this file 'description' to name the repository.
nix: Use vulkan instead of GLES
Blaž Hrastnik 2022-05-01
parent 89a0be1 · commit 4607279
-rw-r--r--flake.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 2daedf6e..30612d66 100644
--- a/flake.nix
+++ b/flake.nix
@@ -53,12 +53,16 @@
};
};
shell = common: prev: {
- packages = prev.packages ++ (with common.pkgs; [ lld_13 lldb cargo-tarpaulin cargo-flamegraph ]);
+ packages = prev.packages ++ (with common.pkgs; [ lld_13 lldb cargo-tarpaulin cargo-flamegraph vulkan-tools ]);
env = prev.env ++ [
{ name = "HELIX_RUNTIME"; eval = "$PWD/runtime"; }
{ name = "RUST_BACKTRACE"; value = "1"; }
# { name = "RUSTFLAGS"; value = "-C link-arg=-fuse-ld=lld -C target-cpu=native -Clink-arg=-Wl,--no-rosegment"; }
- { name = "LD_LIBRARY_PATH"; value = nixpkgs.lib.makeLibraryPath (with common.pkgs; [ wayland libxkbcommon libGL xorg.libxcb ]); }
+ { name = "LD_LIBRARY_PATH"; value = nixpkgs.lib.makeLibraryPath (with common.pkgs; [
+ wayland libxkbcommon xorg.libxcb
+ vulkan-loader # vulkan
+ # libGL # GLES instead of vulkan
+ ]); }
];
};
};