diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-02-25 20:09:27 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2022-03-02 11:28:29 +0800 |
commit | b3d4c1d48f4bb8ac17ff5252707f960c0a06a07f (patch) | |
tree | 93c64dcbd3cdef7fedc943f934206ded0569ced4 /pkgs/development/libraries/appstream | |
parent | c942cd7b2eac6e2851b7b603f46e1347bf681e10 (diff) |
nixosTests.installed-tests.appstream-qt: init
Diffstat (limited to 'pkgs/development/libraries/appstream')
-rw-r--r-- | pkgs/development/libraries/appstream/qt.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/libraries/appstream/qt.nix b/pkgs/development/libraries/appstream/qt.nix index 0bcb4741ff124..6a673a0a2641a 100644 --- a/pkgs/development/libraries/appstream/qt.nix +++ b/pkgs/development/libraries/appstream/qt.nix @@ -1,4 +1,4 @@ -{ mkDerivation, appstream, qtbase, qttools }: +{ mkDerivation, appstream, qtbase, qttools, nixosTests }: # TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here @@ -6,7 +6,7 @@ mkDerivation { pname = "appstream-qt"; inherit (appstream) version src patches; - outputs = [ "out" "dev" ]; + outputs = [ "out" "dev" "installedTests" ]; buildInputs = appstream.buildInputs ++ [ appstream qtbase ]; @@ -19,6 +19,12 @@ mkDerivation { -e "/INTERFACE_INCLUDE_DIRECTORIES/ s@\''${PACKAGE_PREFIX_DIR}@$dev@" ''; + passthru = appstream.passthru // { + tests = { + installed-tests = nixosTests.installed-tests.appstream-qt; + }; + }; + meta = appstream.meta // { description = "Software metadata handling library - Qt"; }; |