about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-10-03 02:34:02 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2023-10-03 16:37:24 +0200
commit33b832bd808be9679e5382384b17b3662df4ca35 (patch)
tree398b3b8feaf052ee614eab3fd7e033d3b87a5e63 /pkgs
parent73dca593c4cca1b2d33f4e50a2cb30537b66913a (diff)
downloadnixlib-33b832bd808be9679e5382384b17b3662df4ca35.tar
nixlib-33b832bd808be9679e5382384b17b3662df4ca35.tar.gz
nixlib-33b832bd808be9679e5382384b17b3662df4ca35.tar.bz2
nixlib-33b832bd808be9679e5382384b17b3662df4ca35.tar.lz
nixlib-33b832bd808be9679e5382384b17b3662df4ca35.tar.xz
nixlib-33b832bd808be9679e5382384b17b3662df4ca35.tar.zst
nixlib-33b832bd808be9679e5382384b17b3662df4ca35.zip
pulsar: remove atomEnv
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/editors/pulsar/default.nix44
1 files changed, 38 insertions, 6 deletions
diff --git a/pkgs/applications/editors/pulsar/default.nix b/pkgs/applications/editors/pulsar/default.nix
index e0b967f8043c..33dd4f2bb7a3 100644
--- a/pkgs/applications/editors/pulsar/default.nix
+++ b/pkgs/applications/editors/pulsar/default.nix
@@ -1,22 +1,32 @@
 { lib
 , stdenv
 , git
-, runtimeShell
 , fetchurl
 , wrapGAppsHook
+, alsa-lib
+, at-spi2-atk
+, cairo
+, cups
+, dbus
+, expat
+, gdk-pixbuf
 , glib
 , gtk3
-, atomEnv
+, mesa
+, nss
+, nspr
 , xorg
+, libdrm
+, libsecret
 , libxkbcommon
-, hunspell
+, pango
+, systemd
 , hunspellDicts
 , useHunspell ? true
 , languages ? [ "en_US" ]
 , withNemoAction ? true
 , makeDesktopItem
 , copyDesktopItems
-, makeWrapper
 , asar
 , python3
 }:
@@ -32,13 +42,35 @@ let
     aarch64-linux.hash = "sha256-GdPnmhMZR3Y2WB2j98JEWomdKFZuTgxN8oga/tBwA4U=";
   }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
 
-  additionalLibs = lib.makeLibraryPath [
+  newLibpath = lib.makeLibraryPath [
+    alsa-lib
+    at-spi2-atk
+    cairo
+    cups
+    dbus
+    expat
+    gdk-pixbuf
+    glib
+    gtk3
+    libsecret
+    mesa
+    nss
+    nspr
+    libdrm
+    xorg.libX11
+    xorg.libxcb
+    xorg.libXcomposite
+    xorg.libXdamage
+    xorg.libXext
+    xorg.libXfixes
+    xorg.libXrandr
     xorg.libxshmfence
     libxkbcommon
     xorg.libxkbfile
+    pango
     stdenv.cc.cc.lib
+    systemd
   ];
-  newLibpath = "${atomEnv.libPath}:${additionalLibs}";
 
   # Hunspell
   hunspellDirs = builtins.map (lang: "${hunspellDicts.${lang}}/share/hunspell") languages;