idea: add `libsecret` to the library path

This solves the `Cannot access native keychain` warning from
IntelliJ-based IDEs. Previously IDEA was unable to find `libsecret` as
it was not part of its library path.

Please keep in mind that the keyring daemon that can be enabled on
NixOS with `services.gnome3.gnome-keyring.enable = true` must be
running.

+3 -2
+3 -2
pkgs/applications/editors/jetbrains/common.nix
··· 1 1 { stdenv, fetchurl, makeDesktopItem, makeWrapper, patchelf, p7zip 2 - , coreutils, gnugrep, which, git, python, unzip }: 2 + , coreutils, gnugrep, which, git, python, unzip, libsecret 3 + }: 3 4 4 5 { name, product, version, src, wmClass, jdk, meta } @ attrs: 5 6 ··· 65 66 --prefix PATH : "$out/libexec/${name}:${stdenv.lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ 66 67 --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ 67 68 # Some internals want libstdc++.so.6 68 - stdenv.cc.cc.lib 69 + stdenv.cc.cc.lib libsecret 69 70 ]}" \ 70 71 --set JDK_HOME "$jdk" \ 71 72 --set ${hiName}_JDK "$jdk" \