diff options
author | Robert Scott <code@humanleg.org.uk> | 2023-05-06 17:03:46 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2023-05-06 17:03:46 +0100 |
commit | 3349cfc4dfd02fbb58d3219da0b41f1d6c70721c (patch) | |
tree | 6412cb0fafd0d9fdfa86730aef37067290088912 /pkgs/tools/archivers | |
parent | 3d40c1b0e92969239d9256a03cb048419babe14f (diff) |
cpio: add some key reverse dependencies to passthru.tests
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r-- | pkgs/tools/archivers/cpio/default.nix | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/cpio/default.nix b/pkgs/tools/archivers/cpio/default.nix index da3a4a2114c99..0fe726f09977f 100644 --- a/pkgs/tools/archivers/cpio/default.nix +++ b/pkgs/tools/archivers/cpio/default.nix @@ -1,4 +1,13 @@ -{ lib, stdenv, fetchurl }: +{ lib +, stdenv +, fetchurl + +# for passthru.tests +, git +, libguestfs +, nixosTests +, rpm +}: stdenv.mkDerivation rec { pname = "cpio"; @@ -17,6 +26,12 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + passthru.tests = { + inherit libguestfs rpm; + git = git.tests.withInstallCheck; + initrd = nixosTests.systemd-initrd-simple; + }; + meta = with lib; { homepage = "https://www.gnu.org/software/cpio/"; description = "A program to create or extract from cpio archives"; |