Merge #230362: cpio: add passthru.tests
This commit is contained in:
commit
c957c3ace5
1 changed files with 16 additions and 1 deletions
|
@ -1,4 +1,13 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
|
||||||
|
# for passthru.tests
|
||||||
|
, git
|
||||||
|
, libguestfs
|
||||||
|
, nixosTests
|
||||||
|
, rpm
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cpio";
|
pname = "cpio";
|
||||||
|
@ -17,6 +26,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit libguestfs rpm;
|
||||||
|
git = git.tests.withInstallCheck;
|
||||||
|
initrd = nixosTests.systemd-initrd-simple;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.gnu.org/software/cpio/";
|
homepage = "https://www.gnu.org/software/cpio/";
|
||||||
description = "A program to create or extract from cpio archives";
|
description = "A program to create or extract from cpio archives";
|
||||||
|
|
Loading…
Reference in a new issue