diff --git a/electron/shell.nix b/electron/shell.nix new file mode 100644 index 000000000..86ee23667 --- /dev/null +++ b/electron/shell.nix @@ -0,0 +1,19 @@ + +{ pkgs ? import {} }: + +(pkgs.buildFHSUserEnv { + name = "electron-env"; + targetPkgs = pkgs: (with pkgs; + [ + nodejs python3 libcxx systemd libpulseaudio libdrm mesa stdenv.cc.cc + alsa-lib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig + freetype gdk-pixbuf glib glibc gtk3 libnotify libuuid nspr nss pango systemd + libappindicator-gtk3 libdbusmenu libxkbcommon + ] + ) ++ (with pkgs.xorg; + [ + libXScrnSaver libXrender libXcursor libXdamage libXext libXfixes libXi + libXrandr libX11 libXcomposite libxshmfence libXtst libxcb + ] + ); +}).env \ No newline at end of file