mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
19 lines
604 B
Nix
19 lines
604 B
Nix
![]() |
|
||
|
{ 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
|