diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/atom/env.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/atom/env.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/atom/env.nix b/nixpkgs/pkgs/applications/editors/atom/env.nix new file mode 100644 index 000000000000..3c0f348ebd52 --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/atom/env.nix @@ -0,0 +1,21 @@ +{ stdenv, lib, zlib, glib, alsaLib, dbus, gtk3, atk, pango, freetype, fontconfig +, libgnome-keyring3, gdk-pixbuf, cairo, cups, expat, libgpgerror, nspr +, gconf, nss, xorg, libcap, systemd, libnotify, libsecret, libuuid, at-spi2-atk +, at-spi2-core, libdbusmenu +}: + +let + packages = [ + stdenv.cc.cc zlib glib dbus gtk3 atk pango freetype libgnome-keyring3 + fontconfig gdk-pixbuf cairo cups expat libgpgerror alsaLib nspr gconf nss + xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst + xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr + xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify + xorg.libxcb libsecret libuuid at-spi2-atk at-spi2-core libdbusmenu + ]; + + libPathNative = lib.makeLibraryPath packages; + libPath64 = lib.makeSearchPathOutput "lib" "lib64" packages; + libPath = "${libPathNative}:${libPath64}"; + +in { inherit packages libPath; } |