Add libraries for iced to work
This commit is contained in:
@@ -39,9 +39,30 @@
|
|||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
};
|
};
|
||||||
# https://numtide.github.io/devshell/intro.html
|
# https://numtide.github.io/devshell/intro.html
|
||||||
devshells.default = {
|
devshells.default = rec {
|
||||||
# These commands will be shown in the motd that users read
|
# These commands will be shown in the motd that users read
|
||||||
# upon entering the shell
|
# upon entering the shell
|
||||||
|
packages = with pkgs; [
|
||||||
|
expat
|
||||||
|
fontconfig
|
||||||
|
freetype
|
||||||
|
freetype.dev
|
||||||
|
libGL
|
||||||
|
pkg-config
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXcursor
|
||||||
|
xorg.libXi
|
||||||
|
xorg.libXrandr
|
||||||
|
wayland
|
||||||
|
libxkbcommon
|
||||||
|
];
|
||||||
|
|
||||||
|
env = [
|
||||||
|
{
|
||||||
|
name = "LD_LIBRARY_PATH";
|
||||||
|
value = builtins.foldl' (a: b: "${a}:${b}/lib") "${pkgs.vulkan-loader}/lib" packages;
|
||||||
|
}
|
||||||
|
];
|
||||||
commands = [
|
commands = [
|
||||||
{
|
{
|
||||||
package = pkgs.cargo;
|
package = pkgs.cargo;
|
||||||
|
|||||||
Reference in New Issue
Block a user