mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
bitwarden-desktop: fix build (#348862)
This commit is contained in:
commit
0c1085e909
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user