mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
#12: Add shell.nix for Electron
This commit is contained in:
parent
ab5c7d5636
commit
f8bc31fb3d
19
electron/shell.nix
Normal file
19
electron/shell.nix
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
(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
|
Loading…
x
Reference in New Issue
Block a user