btrbk: add nixos test to passthru.tests
This commit is contained in:
parent
8b9d56a19a
commit
c6ba881c8d
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchurl, bash, btrfs-progs, openssh, perl, perlPackages
|
{ lib, stdenv, fetchurl, bash, btrfs-progs, openssh, perl, perlPackages
|
||||||
, util-linux, asciidoc, asciidoctor, mbuffer, makeWrapper }:
|
, util-linux, asciidoc, asciidoctor, mbuffer, makeWrapper, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "btrbk";
|
pname = "btrbk";
|
||||||
@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
|
|||||||
--prefix PATH ':' "${lib.makeBinPath [ btrfs-progs bash mbuffer openssh ]}"
|
--prefix PATH ':' "${lib.makeBinPath [ btrfs-progs bash mbuffer openssh ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.btrbk = nixosTests.btrbk;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A backup tool for btrfs subvolumes";
|
description = "A backup tool for btrfs subvolumes";
|
||||||
homepage = "https://digint.ch/btrbk";
|
homepage = "https://digint.ch/btrbk";
|
||||||
|
Loading…
Reference in New Issue
Block a user