fix: flake dev env environment variables

This commit is contained in:
ndom91 2024-10-28 12:06:15 +01:00 committed by Nico Domino
parent 183a026703
commit b612b8ec82

View File

@ -60,13 +60,15 @@
] ++ common;
in
{
devShells.default = unstable.mkShell {
devShells.default = pkgs.mkShell {
nativeBuildInputs = packages;
buildInputs = libraries;
shellHook = ''
LD_LIBRARY_PATH=${unstable.lib.makeLibraryPath libraries}:$LD_LIBRARY_PATH
XDG_DATA_DIRS=${unstable.gsettings-desktop-schemas}/share/gsettings-schemas/${unstable.gsettings-desktop-schemas.name}:${unstable.gtk3}/share/gsettings-schemas/${unstable.gtk3.name}:$XDG_DATA_DIRS
GIO_MODULE_DIR=${unstable.glib-networking}/lib/gio/modules/
LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath libraries}:$LD_LIBRARY_PATH
XDG_DATA_DIRS=${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}:$XDG_DATA_DIRS
GIO_MODULE_DIR=${pkgs.glib-networking.out}/lib/gio/modules/
GIO_EXTRA_MODULES=${pkgs.glib-networking.out}/lib/gio/modules/
PLAYWRIGHT_BROWSERS_PATH=${pkgs.playwright-browsers_v1_47_0}
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=true