git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commita38466a340c88688231b3fadcfa0a0bbc812fa62 authorMaximilian Bosch <maximilian@mbosch.me> dateSat 3 Mar 2018, 14:34 (9 years ago) parent085321a
1 file changed+3−2
pkgs/applications/editors/jetbrains/common.nix+3−2
pkgs/applications/editors/jetbrains/common.nix+3−2
@@ -1,5 +1,6 @@
11{ stdenv, fetchurl, makeDesktopItem, makeWrapper, patchelf, p7zip
2−, coreutils, gnugrep, which, git, python, unzip }:
2+, coreutils, gnugrep, which, git, python, unzip, libsecret
3+}:
34
45{ name, product, version, src, wmClass, jdk, meta } @ attrs:
56
@@ -65,7 +66,7 @@ with stdenv; lib.makeOverridable mkDerivation rec {
6566 --prefix PATH : "$out/libexec/${name}:${stdenv.lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \
6667 --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [
6768 # Some internals want libstdc++.so.6
68− stdenv.cc.cc.lib
69+ stdenv.cc.cc.lib libsecret
6970 ]}" \
7071 --set JDK_HOME "$jdk" \
7172 --set ${hiName}_JDK "$jdk" \