summary refs log tree commit diff
path: root/pkgs/development/libraries/accountsservice
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-07-28 22:18:11 +0300
committerArtturin <Artturin@artturin.com>2022-07-28 22:18:11 +0300
commit73ee7eeb32e865586b0c601dacfc05c4c173b2db (patch)
tree72faa6d5edf1906818f9f65c0a0296d978a5c28a /pkgs/development/libraries/accountsservice
parent64ddb6ad6ba2b3462f29adcde9f32a6916fc2948 (diff)
downloadnixpkgs-73ee7eeb32e865586b0c601dacfc05c4c173b2db.tar
nixpkgs-73ee7eeb32e865586b0c601dacfc05c4c173b2db.tar.gz
nixpkgs-73ee7eeb32e865586b0c601dacfc05c4c173b2db.tar.bz2
nixpkgs-73ee7eeb32e865586b0c601dacfc05c4c173b2db.tar.lz
nixpkgs-73ee7eeb32e865586b0c601dacfc05c4c173b2db.tar.xz
nixpkgs-73ee7eeb32e865586b0c601dacfc05c4c173b2db.tar.zst
nixpkgs-73ee7eeb32e865586b0c601dacfc05c4c173b2db.zip
accountsservice: fix cross
failure line is   result = cc.run(code, name : 'value of WTMPX_FILENAME')
Diffstat (limited to 'pkgs/development/libraries/accountsservice')
-rw-r--r--pkgs/development/libraries/accountsservice/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/accountsservice/default.nix b/pkgs/development/libraries/accountsservice/default.nix
index efe9640af6f..4bd7a67871f 100644
--- a/pkgs/development/libraries/accountsservice/default.nix
+++ b/pkgs/development/libraries/accountsservice/default.nix
@@ -10,6 +10,7 @@
 , systemd
 , coreutils
 , meson
+, mesonEmulatorHook
 , dbus
 , ninja
 , python3
@@ -47,7 +48,6 @@ stdenv.mkDerivation rec {
   ];
 
   nativeBuildInputs = [
-    dbus
     gettext
     gobject-introspection
     meson
@@ -55,9 +55,14 @@ stdenv.mkDerivation rec {
     pkg-config
     python3
     vala
+  ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
+    #  meson.build:88:2: ERROR: Can not run test applications in this cross environment.
+    mesonEmulatorHook
   ];
 
   buildInputs = [
+    gobject-introspection
+    dbus
     glib
     polkit
     systemd