summary refs log tree commit diff
path: root/pkgs/development/libraries/xdg-desktop-portal
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-07 08:38:54 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-07 08:38:54 -0500
commit1891b0030dcd84885fc56e234d45014f11f285b7 (patch)
tree40b21cea91d0181f22598db705cee1d7a14d32fb /pkgs/development/libraries/xdg-desktop-portal
parent7529fd15d59e97bcd990773bfb2c577bcfb25802 (diff)
downloadnixpkgs-1891b0030dcd84885fc56e234d45014f11f285b7.tar
nixpkgs-1891b0030dcd84885fc56e234d45014f11f285b7.tar.gz
nixpkgs-1891b0030dcd84885fc56e234d45014f11f285b7.tar.bz2
nixpkgs-1891b0030dcd84885fc56e234d45014f11f285b7.tar.lz
nixpkgs-1891b0030dcd84885fc56e234d45014f11f285b7.tar.xz
nixpkgs-1891b0030dcd84885fc56e234d45014f11f285b7.tar.zst
nixpkgs-1891b0030dcd84885fc56e234d45014f11f285b7.zip
xdg-desktop-portal: add test to passthru
Diffstat (limited to 'pkgs/development/libraries/xdg-desktop-portal')
-rw-r--r--pkgs/development/libraries/xdg-desktop-portal/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/libraries/xdg-desktop-portal/default.nix b/pkgs/development/libraries/xdg-desktop-portal/default.nix
index 4be7bd1474c..d16c5d670e5 100644
--- a/pkgs/development/libraries/xdg-desktop-portal/default.nix
+++ b/pkgs/development/libraries/xdg-desktop-portal/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, substituteAll, autoreconfHook, pkgconfig, libxml2, glib, pipewire, fontconfig, flatpak, gsettings-desktop-schemas, acl, dbus, fuse, geoclue2, json-glib, wrapGAppsHook }:
+{ stdenv, fetchFromGitHub, nixosTests, substituteAll, autoreconfHook, pkgconfig, libxml2, glib, pipewire, fontconfig, flatpak, gsettings-desktop-schemas, acl, dbus, fuse, geoclue2, json-glib, wrapGAppsHook }:
 
 stdenv.mkDerivation rec {
   pname = "xdg-desktop-portal";
@@ -35,6 +35,12 @@ stdenv.mkDerivation rec {
     "installed_test_metadir=$(installedTests)/share/installed-tests/xdg-desktop-portal"
   ];
 
+  passthru = {
+    tests = {
+      installedTests = nixosTests.installed-tests.xdg-desktop-portal;
+    };
+  };
+
   meta = with stdenv.lib; {
     description = "Desktop integration portals for sandboxed apps";
     license = licenses.lgpl21;