composefs: inherit nixosTests

This commit is contained in:
Kiskae
2024-02-26 18:18:39 +01:00
parent 0672c66c6a
commit 542b6bf2e8
+6 -1
View File
@@ -16,6 +16,7 @@
, fsverity-utils
, nix-update-script
, testers
, nixosTests
, fuseSupport ? lib.meta.availableOn stdenv.hostPlatform fuse3
, enableValgrindCheck ? false
@@ -69,7 +70,11 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
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 = {