gnome.gnome-keyring: support cross compilation
This commit is contained in:
parent
8fe1aa6825
commit
56bc064c0f
|
@ -63,6 +63,9 @@ stdenv.mkDerivation rec {
|
||||||
# gnome-keyring doesn't build with ssh-agent by default anymore, we need to
|
# gnome-keyring doesn't build with ssh-agent by default anymore, we need to
|
||||||
# switch to using gcr https://github.com/NixOS/nixpkgs/issues/140824
|
# switch to using gcr https://github.com/NixOS/nixpkgs/issues/140824
|
||||||
"--enable-ssh-agent"
|
"--enable-ssh-agent"
|
||||||
|
"LIBGCRYPT_CONFIG=${lib.getExe' (lib.getDev libgcrypt) "libgcrypt-config"}"
|
||||||
|
"SSH_ADD=${lib.getExe' openssh "ssh-add"}"
|
||||||
|
"SSH_AGENT=${lib.getExe' openssh "ssh-agent"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Tends to fail non-deterministically.
|
# Tends to fail non-deterministically.
|
||||||
|
@ -72,6 +75,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs build
|
patchShebangs build
|
||||||
|
addToSearchPath ACLOCAL_PATH ${lib.getDev libgcrypt}/share/aclocal
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user