mirror of
https://github.com/damus-io/notedeck.git
synced 2024-09-18 21:03:31 +00:00
nix: fix not opening issue on Sway Linux
This commit is contained in:
parent
ab1e8d956c
commit
ecc2d7389d
15
shell.nix
15
shell.nix
@ -16,7 +16,18 @@ with import <nixpkgs>
|
||||
};
|
||||
|
||||
let
|
||||
x11libs = lib.makeLibraryPath [ xorg.libX11 xorg.libXcursor xorg.libXrandr xorg.libXi libglvnd vulkan-loader vulkan-validation-layers libxkbcommon ];
|
||||
graphicLibs = lib.makeLibraryPath [
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXrandr
|
||||
xorg.libXi
|
||||
libglvnd
|
||||
vulkan-loader
|
||||
vulkan-validation-layers
|
||||
libxkbcommon
|
||||
|
||||
wayland
|
||||
];
|
||||
rustc = (rust-bin.fromRustupToolchainFile ./rust-toolchain).override {
|
||||
targets = [ ] ++
|
||||
(lib.optionals (stdenv.isLinux && use_android) [
|
||||
@ -70,7 +81,7 @@ mkShell ({
|
||||
|
||||
} // (
|
||||
lib.optionalAttrs (!stdenv.isDarwin) {
|
||||
LD_LIBRARY_PATH = "${x11libs}";
|
||||
LD_LIBRARY_PATH = "${graphicLibs}";
|
||||
}
|
||||
) // (
|
||||
lib.optionalAttrs use_android (
|
||||
|
Loading…
Reference in New Issue
Block a user