Skip to content

Commit

Permalink
composefs: inherit nixosTests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiskae committed Feb 26, 2024
1 parent 0672c66 commit 542b6bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/by-name/co/composefs/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
, fsverity-utils
, nix-update-script
, testers
, nixosTests

, fuseSupport ? lib.meta.availableOn stdenv.hostPlatform fuse3
, enableValgrindCheck ? false
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 542b6bf

Please sign in to comment.