sanoid: Passthru sanoid tests
This commit is contained in:
parent
764e4acee1
commit
bf36e52f64
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, makeWrapper, zfs
|
{ lib, stdenv, fetchFromGitHub, nixosTests, makeWrapper, zfs
|
||||||
, perlPackages, procps, which, openssh, mbuffer, pv, lzop, gzip, pigz }:
|
, perlPackages, procps, which, openssh, mbuffer, pv, lzop, gzip, pigz }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = with perlPackages; [ perl ConfigIniFiles CaptureTiny ];
|
buildInputs = with perlPackages; [ perl ConfigIniFiles CaptureTiny ];
|
||||||
|
|
||||||
|
passthru.tests = nixosTests.sanoid;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue