composefs: inherit nixosTests

This commit is contained in:
Kiskae 2024-01-29 17:05:55 +01:00
parent 0672c66c6a
commit 542b6bf2e8

View file

@ -16,6 +16,7 @@
, fsverity-utils , fsverity-utils
, nix-update-script , nix-update-script
, testers , testers
, nixosTests
, fuseSupport ? lib.meta.availableOn stdenv.hostPlatform fuse3 , fuseSupport ? lib.meta.availableOn stdenv.hostPlatform fuse3
, enableValgrindCheck ? false , enableValgrindCheck ? false
@ -69,7 +70,11 @@ stdenv.mkDerivation (finalAttrs: {
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = nix-update-script { };
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; tests = {
# Broken on aarch64 unrelated to this package: https://github.com/NixOS/nixpkgs/issues/291398
inherit (nixosTests) activation-etc-overlay-immutable activation-etc-overlay-mutable;
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
}; };
meta = { meta = {