summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-08-12 20:10:30 +0200
committerFlorian Klink <flokli@flokli.de>2020-08-13 20:51:39 +0200
commit6c8d0d1de710ccabaf4d5eac11670cacc20965e8 (patch)
tree090b2452f66de3d0cef08f17b51aba4d00b8e11e /pkgs/applications/editors
parenta88186b4a242efe520b884adcd08333aca09fbe2 (diff)
downloadnixpkgs-6c8d0d1de710ccabaf4d5eac11670cacc20965e8.tar
nixpkgs-6c8d0d1de710ccabaf4d5eac11670cacc20965e8.tar.gz
nixpkgs-6c8d0d1de710ccabaf4d5eac11670cacc20965e8.tar.bz2
nixpkgs-6c8d0d1de710ccabaf4d5eac11670cacc20965e8.tar.lz
nixpkgs-6c8d0d1de710ccabaf4d5eac11670cacc20965e8.tar.xz
nixpkgs-6c8d0d1de710ccabaf4d5eac11670cacc20965e8.tar.zst
nixpkgs-6c8d0d1de710ccabaf4d5eac11670cacc20965e8.zip
lighttable: use lib.getLib systemd instead of systemd.lib
This will pick the `lib` output if it exists, otherwise default to `out`.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/lighttable/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/editors/lighttable/default.nix b/pkgs/applications/editors/lighttable/default.nix
index 26c5ee42152..abf55b42c55 100644
--- a/pkgs/applications/editors/lighttable/default.nix
+++ b/pkgs/applications/editors/lighttable/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, zlib, glib, alsaLib, makeDesktopItem
+{ stdenv, lib, fetchurl, zlib, glib, alsaLib, makeDesktopItem
 , dbus, gtk2, atk, pango, freetype, fontconfig, libgnome-keyring3, gdk-pixbuf
 , cairo, cups, expat, libgpgerror, nspr, gnome2, nss, xorg, systemd, libnotify
 }:
@@ -45,9 +45,9 @@ stdenv.mkDerivation rec {
 
     mv $out/share/LightTable/light $out/bin/light
 
-    ln -sf ${systemd.lib}/lib/libudev.so.1 $out/share/LightTable/libudev.so.0
+    ln -sf ${lib.getLib systemd}/lib/libudev.so.1 $out/share/LightTable/libudev.so.0
     substituteInPlace $out/bin/light \
-        --replace "/usr/lib/x86_64-linux-gnu" "${systemd.lib}/lib" \
+        --replace "/usr/lib/x86_64-linux-gnu" "${lib.getLib systemd}/lib" \
         --replace "/lib/x86_64-linux-gnu" "$out/share/LightTable" \
         --replace 'HERE=`dirname $(readlink -f $0)`' "HERE=$out/share/LightTable"