Unverified Commit c957c3ac authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

Merge #230362: cpio: add passthru.tests

parents 30fd9eea 3349cfc4
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
{ 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";