summary refs log tree commit diff
path: root/pkgs/development/tools/nwjs/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-08-12 20:17:35 +0200
committerFlorian Klink <flokli@flokli.de>2020-08-13 20:51:40 +0200
commit9fb8e4a765493be94e8cd9a1f252ef53a44cccab (patch)
tree25bbce3c67f7f5bdfad06d7d79ee6121f11ebb76 /pkgs/development/tools/nwjs/default.nix
parentd512c0879864060b7cf4e02342e8ed60e5ae7bd9 (diff)
downloadnixpkgs-9fb8e4a765493be94e8cd9a1f252ef53a44cccab.tar
nixpkgs-9fb8e4a765493be94e8cd9a1f252ef53a44cccab.tar.gz
nixpkgs-9fb8e4a765493be94e8cd9a1f252ef53a44cccab.tar.bz2
nixpkgs-9fb8e4a765493be94e8cd9a1f252ef53a44cccab.tar.lz
nixpkgs-9fb8e4a765493be94e8cd9a1f252ef53a44cccab.tar.xz
nixpkgs-9fb8e4a765493be94e8cd9a1f252ef53a44cccab.tar.zst
nixpkgs-9fb8e4a765493be94e8cd9a1f252ef53a44cccab.zip
nwjs: 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/development/tools/nwjs/default.nix')
-rw-r--r--pkgs/development/tools/nwjs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/nwjs/default.nix b/pkgs/development/tools/nwjs/default.nix
index ab16d951151..4eedc003272 100644
--- a/pkgs/development/tools/nwjs/default.nix
+++ b/pkgs/development/tools/nwjs/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, buildEnv, makeWrapper
+{ stdenv, lib, fetchurl, buildEnv, makeWrapper
 
 , xorg, alsaLib, dbus, glib, gtk3, atk, pango, freetype, fontconfig
 , gdk-pixbuf, cairo, nss, nspr, gconf, expat, systemd, libcap
@@ -61,7 +61,7 @@ in stdenv.mkDerivation rec {
 
       patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/share/nwjs/nw
 
-      ln -s ${systemd.lib}/lib/libudev.so $out/share/nwjs/libudev.so.0
+      ln -s ${lib.getLib systemd}/lib/libudev.so $out/share/nwjs/libudev.so.0
 
       libpath="$out/share/nwjs/lib/"
       for f in "$libpath"/*.so; do