2024-07-21 18:03:38 +02:00
|
|
|
{ pkgs ? import <nixpkgs> { overlays = [ (import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz)) ]; },}:
|
2024-07-10 19:58:41 +02:00
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
mkShell {
|
|
|
|
nativeBuildInputs = with xorg; [
|
|
|
|
libxcb
|
|
|
|
libXcursor
|
|
|
|
libXrandr
|
|
|
|
libXi
|
|
|
|
pkg-config
|
|
|
|
] ++ [
|
|
|
|
cargo
|
2024-07-21 18:03:38 +02:00
|
|
|
rustc
|
|
|
|
atk
|
|
|
|
gdk-pixbuf
|
|
|
|
webkitgtk
|
|
|
|
glib
|
2024-07-10 19:58:41 +02:00
|
|
|
libGL
|
|
|
|
libGLU
|
|
|
|
libxkbcommon
|
|
|
|
gtk3-x11
|
|
|
|
gnome.zenity
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
latest.rustChannels.stable.rust
|
|
|
|
xorg.libX11
|
|
|
|
wayland
|
|
|
|
libxkbcommon
|
|
|
|
];
|
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
export LD_LIBRARY_PATH=/run/opengl-driver/lib/:${lib.makeLibraryPath ([libGL libGLU libxkbcommon])}
|
|
|
|
'';
|
|
|
|
}
|