bitwarden-desktop: fix build (#348862)

This commit is contained in:
Robert Schütz 2024-10-15 16:57:31 -07:00 committed by GitHub
commit 0c1085e909
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,6 @@
, buildNpmPackage
, cargo
, copyDesktopItems
, dbus
, electron_32
, fetchFromGitHub
, glib
@ -135,7 +134,6 @@ in buildNpmPackage rec {
doCheck = true;
nativeCheckInputs = [
dbus
(gnome-keyring.override { useWrappedDaemon = false; })
];
@ -146,14 +144,12 @@ in buildNpmPackage rec {
checkPhase = ''
runHook preCheck
pushd ${cargoRoot}
export HOME=$(mktemp -d)
export -f cargoCheckHook runHook _eval _callImplicitHook _logHook
export cargoCheckType=release
dbus-run-session \
--config-file=${dbus}/share/dbus-1/session.conf \
-- bash -e -c cargoCheckHook
popd
(
cd ${cargoRoot}
HOME=$(mktemp -d)
cargoCheckType=release
cargoCheckHook
)
runHook postCheck
'';