diff options
author | Florian Klink <flokli@flokli.de> | 2020-08-12 20:10:10 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-08-13 20:51:39 +0200 |
commit | a88186b4a242efe520b884adcd08333aca09fbe2 (patch) | |
tree | 110322ea439c899cc965551ee6062963f8f6716f /pkgs/applications/editors/brackets | |
parent | 5b49f1fb0faf2f1b214afeadb9c3ecc125cc19a4 (diff) |
brackets: 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/brackets')
-rw-r--r-- | pkgs/applications/editors/brackets/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/brackets/default.nix b/pkgs/applications/editors/brackets/default.nix index 3e01bcdb0f9d..9d5978e605ae 100644 --- a/pkgs/applications/editors/brackets/default.nix +++ b/pkgs/applications/editors/brackets/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, gtk2, glib, gdk-pixbuf, alsaLib, nss, nspr, gconf +{ stdenv, lib, fetchurl, gtk2, glib, gdk-pixbuf, alsaLib, nss, nspr, gconf , cups, libgcrypt_1_5, systemd, dbus, libXdamage, expat }: with stdenv.lib; @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { rmdir $out/usr ln -sf $out/opt/brackets/brackets $out/bin/brackets - ln -s ${systemd.lib}/lib/libudev.so.1 $out/opt/brackets/lib/libudev.so.0 + ln -s ${lib.getLib systemd}/lib/libudev.so.1 $out/opt/brackets/lib/libudev.so.0 substituteInPlace $out/opt/brackets/brackets.desktop \ --replace "Exec=/opt/brackets/brackets" "Exec=brackets" |